feat: Improved support for Anthropic's extended thinking

This commit is contained in:
Dark-Alex-17 committed 2026-07-17 17:26:41 -06:00
1 parent 078e6e3744
commit 8629c1ca15
9 files changed
+121 -24

No files matched your search

+1 -1
View File
@@ -322,7 +322,7 @@ fn gemini_extract_chat_completions_text(data: &Value) -> Result<ChatCompletionsO
bail!("Invalid response data: {data}");
}
}
let output = ChatCompletionsOutput { text, tool_calls };
let output = ChatCompletionsOutput { text, tool_calls, ..Default::default() };
Ok(output)
}