[GH-ISSUE #9946] Tool calling doesn't stream output #53023

Closed
opened 2026-04-29 01:42:19 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @jbcallaghan on GitHub (Mar 22, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/9946

What is the issue?

Streaming doesn't work when binding tools. The output is sent as a single response, rather than broken down into chunks. Tested with ChatOllama, ChatOpenAI and AsyncClient.

Relevant log output


OS

Linux

GPU

Nvidia

CPU

AMD

Ollama version

0.6.2

Originally created by @jbcallaghan on GitHub (Mar 22, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/9946 ### What is the issue? Streaming doesn't work when binding tools. The output is sent as a single response, rather than broken down into chunks. Tested with ChatOllama, ChatOpenAI and AsyncClient. ### Relevant log output ```shell ``` ### OS Linux ### GPU Nvidia ### CPU AMD ### Ollama version 0.6.2
GiteaMirror added the bug label 2026-04-29 01:42:20 -05:00
Author
Owner

@rick-github commented on GitHub (Mar 22, 2025):

https://github.com/ollama/ollama/issues/8887#issuecomment-2640721896

<!-- gh-comment-id:2745691346 --> @rick-github commented on GitHub (Mar 22, 2025): https://github.com/ollama/ollama/issues/8887#issuecomment-2640721896
Author
Owner

@markpollack commented on GitHub (Apr 22, 2025):

sorry, ignore the previous message. It should be in the spring-ai repo and I can't edit/delete the previous comment.

<!-- gh-comment-id:2821691194 --> @markpollack commented on GitHub (Apr 22, 2025): sorry, ignore the previous message. It should be in the spring-ai repo and I can't edit/delete the previous comment.
Author
Owner

@rick-github commented on GitHub (Jul 7, 2025):

https://ollama.com/blog/streaming-tool

<!-- gh-comment-id:3046486147 --> @rick-github commented on GitHub (Jul 7, 2025): https://ollama.com/blog/streaming-tool
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#53023