tool calling support for anthropic
This commit is contained in:
@@ -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"))?;
|
||||
|
||||
Reference in New Issue
Block a user