[GH-ISSUE #3042] BUG - Messages break by word #1872

Closed
opened 2026-04-12 11:56:59 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @TiagoGouvea on GitHub (Mar 10, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/3042

I just downloaded Ollama and tried it using postman with the local Ollama server.

Independently of the model, it always answers with one word per message.

Since I didn't change anything, it seams like a bug.

2024-03-10_11-46-34
Originally created by @TiagoGouvea on GitHub (Mar 10, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/3042 I just downloaded Ollama and tried it using postman with the local Ollama server. Independently of the model, it always answers with one word per message. Since I didn't change anything, it seams like a bug. <img width="911" alt="2024-03-10_11-46-34" src="https://github.com/ollama/ollama/assets/2242549/36afe9f2-40e6-45aa-8ede-1f387670839e">
Author
Owner

@stephensrmmartin commented on GitHub (Mar 10, 2024):

Is there a different expected behavior when streaming is enabled?

<!-- gh-comment-id:1987408154 --> @stephensrmmartin commented on GitHub (Mar 10, 2024): Is there a different expected behavior when streaming is enabled?
Author
Owner

@jmorganca commented on GitHub (Mar 11, 2024):

Hi @TiagoGouvea this is because streaming is enabled – the response is returned in chunks. To disable streaming use the "stream": false parameter

<!-- gh-comment-id:1987668630 --> @jmorganca commented on GitHub (Mar 11, 2024): Hi @TiagoGouvea this is because streaming is enabled – the response is returned in chunks. To disable streaming use the `"stream": false` parameter
Author
Owner

@TiagoGouvea commented on GitHub (Mar 11, 2024):

Yeah, make sense!

The stream by default, was unexpected.

Thank you

<!-- gh-comment-id:1988162599 --> @TiagoGouvea commented on GitHub (Mar 11, 2024): Yeah, make sense! The `stream` by default, was unexpected. Thank you
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#1872