fix: Correct indentation for clarity in chatCore and claude-to-openai response handlers

This commit is contained in:
decolua committed 2026-02-02 19:47:09 +07:00
1 parent 0a28f9f924
commit fa06226972
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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') {