Merge pull request #6211 from uinstinct/ollama-streaming

feat: support ollama streaming for tool calls
This commit is contained in:
Dallin Romney 2025-06-24 15:18:06 -07:00 • committed by GitHub
commit ba76e00b3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -405,7 +405,6 @@ class Ollama extends BaseLLM implements ModelInstaller {
parameters: tool.function.parameters,
},
}));
chatOptions.stream = false; // Cannot set stream = true for tools calls
}
const headers: Record<string, string> = {
"Content-Type": "application/json",