feat: add tool input streaminig

This commit is contained in:
dayuan.jiang
2025-11-10 18:45:25 +09:00
parent fa173feb11
commit 61aa0937d6
3 changed files with 19 additions and 11 deletions

View File

@@ -144,6 +144,13 @@ ${lastMessageText}
// reasoningEffort: "minimal"
// },
// },
providerOptions: {
anthropic: {
additionalModelRequestFields: {
anthropic_beta: ['fine-grained-tool-streaming-2025-05-14']
}
}
},
messages: enhancedMessages,
tools: {
// Client-side tool that will be executed on the client