fix: Correct indentation for clarity in chatCore and claude-to-openai response handlers
This commit is contained in:
1 parent
0a28f9f924
commit
fa06226972
2 files changed
+2
-2
No files matched your search
@@ -411,7 +411,7 @@ export async function handleChatCore({ body, modelInfo, credentials, log, onCred
|
||||
await onRequestSuccess();
|
||||
}
|
||||
|
||||
// Log usage for non-streaming responses
|
||||
// Log usage for non-streaming responses
|
||||
const usage = extractUsageFromResponse(responseBody, provider);
|
||||
appendRequestLog({ model, provider, connectionId, tokens: usage, status: "200 OK" }).catch(() => { });
|
||||
if (usage && typeof usage === 'object') {
|
||||
|
||||
Reference in new issue
Block a user