[PR #13878] [CLOSED] docs: update multiline docs #24972

Closed
opened 2026-04-19 17:55:36 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13878
Author: @maternion
Created: 1/24/2026
Status: Closed

Base: mainHead: main


📝 Commits (4)

  • 48627a3 Updating with latest main
  • 3501126 Updating with latest main
  • ff5164c revert context-length.mdx
  • 21a0087 Merge branch 'ollama:main' into main

📊 Changes

2 files changed (+17 additions, -4 deletions)

View changed files

📝 docs/cli.mdx (+16 -3)
📝 docs/context-length.mdx (+1 -1)

📄 Description

This PR expands the context length documentation to cover configuration methods that are already supported but not clearly documented.

It distinguishes between:

  • Global configuration using the OLLAMA_CONTEXT_LENGTH environment variable
  • Per-model configuration during interactive sessions via ollama run, including how to persist changes with /save

Also, updated CLI docs for the new multi-line changes. If the functionality intended is different from what I have written then please do inform, will update it.

This should help users better understand when each approach is appropriate.

Continuation of https://github.com/ollama/ollama/pull/13758


🔄 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/13878 **Author:** [@maternion](https://github.com/maternion) **Created:** 1/24/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (4) - [`48627a3`](https://github.com/ollama/ollama/commit/48627a32ab7e60576355c87f431c654273f3acee) Updating with latest main - [`3501126`](https://github.com/ollama/ollama/commit/3501126f5c8f7438a98bdea67c3380abd8a24361) Updating with latest main - [`ff5164c`](https://github.com/ollama/ollama/commit/ff5164c080d6fab60303d654a448d8e6982d80ad) revert context-length.mdx - [`21a0087`](https://github.com/ollama/ollama/commit/21a00873a0150eed240f5fde1a38d459795b7ddc) Merge branch 'ollama:main' into main ### 📊 Changes **2 files changed** (+17 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `docs/cli.mdx` (+16 -3) 📝 `docs/context-length.mdx` (+1 -1) </details> ### 📄 Description This PR expands the context length documentation to cover configuration methods that are already supported but not clearly documented. It distinguishes between: - Global configuration using the `OLLAMA_CONTEXT_LENGTH` environment variable - Per-model configuration during interactive sessions via `ollama run`, including how to persist changes with `/save` Also, updated CLI docs for the new multi-line changes. If the functionality intended is different from what I have written then please do inform, will update it. This should help users better understand when each approach is appropriate. Continuation of https://github.com/ollama/ollama/pull/13758 --- <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-19 17:55:36 -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#24972