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
@@ -529,7 +529,7 @@ fn extract_chat_completions(data: &Value) -> Result<ChatCompletionsOutput> {
bail!("Invalid response data: {data}");
}
let output = ChatCompletionsOutput { text, tool_calls };
let output = ChatCompletionsOutput { text, tool_calls, ..Default::default() };
Ok(output)
}