Merge pull request #6211 from uinstinct/ollama-streaming
feat: support ollama streaming for tool calls
This commit is contained in:
commit
ba76e00b3c
1 changed files with 0 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue