tool calling support for anthropic

This commit is contained in:
Dhanji Prasanna
2025-09-09 14:25:39 +10:00
parent 02d95e01a0
commit fa34755851
9 changed files with 705 additions and 121 deletions

View File

@@ -140,6 +140,7 @@ impl LLMProvider for OpenAIProvider {
let chunk = CompletionChunk {
content: completion.content,
finished: true,
tool_calls: None,
};
tx.send(Ok(chunk)).await.map_err(|_| anyhow::anyhow!("Failed to send chunk"))?;