[GH-ISSUE #6090] Ollama seems to not work with long system prompts #65844

Closed
opened 2026-05-03 22:52:37 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @austin-starks on GitHub (Jul 31, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6090

What is the issue?

I typed up the full problem here (with examples)

TL;DR, if I try to run Ollama with a very long system prompt, it seems to completely ignore it. Happy to provide as much detail as you need to fix this.

OS

macOS

GPU

Apple

CPU

Apple

Ollama version

0.2.8

Originally created by @austin-starks on GitHub (Jul 31, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6090 ### What is the issue? [I typed up the full problem here (with examples)](https://www.reddit.com/r/ollama/comments/1egddvv/getting_ollama_to_work_with_very_long_system/) TL;DR, if I try to run Ollama with a very long system prompt, it seems to completely ignore it. Happy to provide as much detail as you need to fix this. ### OS macOS ### GPU Apple ### CPU Apple ### Ollama version 0.2.8
GiteaMirror added the bug label 2026-05-03 22:52:37 -05:00
Author
Owner

@rick-github commented on GitHub (Jul 31, 2024):

Did you try increasing the context window? "options": { "num_ctx": 8192}

<!-- gh-comment-id:2259781244 --> @rick-github commented on GitHub (Jul 31, 2024): Did you try increasing the context window? `"options": { "num_ctx": 8192}`
Author
Owner

@austin-starks commented on GitHub (Jul 31, 2024):

Nope! It works now. Thank you !

<!-- gh-comment-id:2260435794 --> @austin-starks commented on GitHub (Jul 31, 2024): Nope! It works now. 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#65844