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
@@ -110,7 +110,7 @@ export function claudeToOpenAIResponse(chunk, state) {
|
||||
break;
|
||||
}
|
||||
|
||||
case "message_stop": {
|
||||
case "message_stop": {
|
||||
if (!state.finishReasonSent) {
|
||||
const finishReason = state.finishReason || (state.toolCalls?.size > 0 ? "tool_calls" : "stop");
|
||||
const usageObj = (state.usage && typeof state.usage === 'object') ? {
|
||||
|
||||
Reference in new issue
Block a user