[GH-ISSUE #7134] Raw mode in /api/generate should return eos tokens #4531

Open
opened 2026-04-12 15:28:12 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @jmorganca on GitHub (Oct 8, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/7134

What is the issue?

Currently setting "raw": true does not return end of sequence tokens such as EOS, EOM, EOT, etc.

OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @jmorganca on GitHub (Oct 8, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/7134 ### What is the issue? Currently setting `"raw": true` does not return end of sequence tokens such as EOS, EOM, EOT, etc. ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bugapi labels 2026-04-12 15:28:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#4531