fixes bug introduced in previous commit which prevented logging
This commit is contained in:
parent
34ed165a6f
commit
5e046b9060
|
@ -19,7 +19,7 @@ export const logPrompt: ProxyResHandlerWithBody = async (
|
|||
}
|
||||
|
||||
// Only log prompts if we're making a request to a completion endpoint
|
||||
if (!req.originalUrl.startsWith(COMPLETE_ENDPOINT)) {
|
||||
if (!req.originalUrl.endsWith(COMPLETE_ENDPOINT)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue