[GH-ISSUE #299] Truncating context causes bad model behavior #25895

Closed
opened 2026-04-22 01:44:21 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @jmorganca on GitHub (Aug 6, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/299

Originally assigned to: @mxyng on GitHub.

Ollama truncates input until it will fit in the context windows. In some cases the prompt format will be affected and causes the model to behave incorrectly

Originally created by @jmorganca on GitHub (Aug 6, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/299 Originally assigned to: @mxyng on GitHub. Ollama truncates input until it will fit in the context windows. In some cases the prompt format will be affected and causes the model to behave incorrectly
GiteaMirror added the bug label 2026-04-22 01:44:21 -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#25895