[PR #14191] doc: add links to 'How do I configure Ollama server?' when talking about context window size #45806

Open
opened 2026-04-25 01:26:21 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14191
Author: @d3fault
Created: 2/10/2026
Status: 🔄 Open

Base: mainHead: doc-context-length


📝 Commits (1)

  • 0bb0d3a doc: add links to 'How do I configure Ollama server?' when talking about context window size

📊 Changes

2 files changed (+5 additions, -1 deletions)

View changed files

📝 docs/context-length.mdx (+2 -0)
📝 docs/faq.mdx (+3 -1)

📄 Description

I spent an embarrassing amount of time trying things like:
OLLAMA_CONTEXT_LENGTH=64000 ollama run gpt-oss:20b
OLLAMA_CONTEXT_LENGTH=64000 ollama launch codex --model gpt-oss:20b
and even got ChatGPT to hallucinate and tell me there's a config file in my home directory with OLLAMA_CONTEXT_LENGTH :). I didn't know ollama was running as a system service and thought 'run' was handling the LLM lifetime.

there exists lots of doc saying you must change OLLAMA_CONTEXT_LENGTH, but none explaining how to change it.

probably similar tips for Windows/Mac/etc are needed, but don't know don't care

thank you for this awesome project!


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/14191 **Author:** [@d3fault](https://github.com/d3fault) **Created:** 2/10/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `doc-context-length` --- ### 📝 Commits (1) - [`0bb0d3a`](https://github.com/ollama/ollama/commit/0bb0d3ab3cf3ebeacdf4108f725ca6b55994466a) doc: add links to 'How do I configure Ollama server?' when talking about context window size ### 📊 Changes **2 files changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/context-length.mdx` (+2 -0) 📝 `docs/faq.mdx` (+3 -1) </details> ### 📄 Description I spent an embarrassing amount of time trying things like: `OLLAMA_CONTEXT_LENGTH=64000 ollama run gpt-oss:20b` `OLLAMA_CONTEXT_LENGTH=64000 ollama launch codex --model gpt-oss:20b` and even got ChatGPT to hallucinate and tell me there's a config file in my home directory with OLLAMA_CONTEXT_LENGTH :). **I didn't know ollama was running as a system service and thought 'run' was handling the LLM lifetime.** there exists lots of doc saying you *must* change OLLAMA_CONTEXT_LENGTH, but none explaining *how* to change it. probably similar tips for Windows/Mac/etc are needed, but don't know don't care thank you for this awesome project! --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-25 01:26: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#45806