[GH-ISSUE #7825] Tool behavior in stream mode #67064

Closed
opened 2026-05-04 09:24:09 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @jwnder on GitHub (Nov 25, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/7825

When the api is called as in the example:
https://github.com/ollama/ollama/blob/main/docs/api.md#chat-request-with-tools

But the stream is enabled (stream: true)

The response doesn't contain tool_calls , only content are present.

Please add tool_calls in the reply to differentiate between content / tool_calls

Originally created by @jwnder on GitHub (Nov 25, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/7825 When the api is called as in the example: https://github.com/ollama/ollama/blob/main/docs/api.md#chat-request-with-tools But the stream is enabled (stream: true) The response doesn't contain tool_calls , only content are present. Please add tool_calls in the reply to differentiate between content / tool_calls
GiteaMirror added the feature request label 2026-05-04 09:24:09 -05:00
Author
Owner

@rick-github commented on GitHub (Nov 25, 2024):

https://github.com/ollama/ollama/issues/5796

<!-- gh-comment-id:2498037640 --> @rick-github commented on GitHub (Nov 25, 2024): https://github.com/ollama/ollama/issues/5796
Author
Owner

@ParthSareen commented on GitHub (Nov 27, 2024):

Going to close this out as it's already documented! Fix coming soon!

<!-- gh-comment-id:2504442863 --> @ParthSareen commented on GitHub (Nov 27, 2024): Going to close this out as it's already documented! Fix coming soon!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#67064