[PR #14738] docs: fix num_ctx parameter description #46061

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14738
Author: @mvanhorn
Created: 3/9/2026
Status: 🔄 Open

Base: mainHead: osc/12474-docs-fix-num-ctx


📝 Commits (2)

  • f87f9af docs: document API error response format
  • 19e2dff docs: fix num_ctx parameter description

📊 Changes

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

View changed files

📝 docs/api.md (+41 -0)
📝 docs/modelfile.mdx (+1 -1)

📄 Description

Fixes #12474

Summary

  • Updated the num_ctx description to accurately reflect that it controls the total context window size (prompt + generated tokens), not just the generation window

This contribution was developed with AI assistance (Claude Code).


🔄 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/14738 **Author:** [@mvanhorn](https://github.com/mvanhorn) **Created:** 3/9/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `osc/12474-docs-fix-num-ctx` --- ### 📝 Commits (2) - [`f87f9af`](https://github.com/ollama/ollama/commit/f87f9af2771ead3637af4cef87932dd282e05607) docs: document API error response format - [`19e2dff`](https://github.com/ollama/ollama/commit/19e2dff99340fabe5d15e3683f254c7e4825be8c) docs: fix num_ctx parameter description ### 📊 Changes **2 files changed** (+42 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/api.md` (+41 -0) 📝 `docs/modelfile.mdx` (+1 -1) </details> ### 📄 Description Fixes #12474 ## Summary - Updated the `num_ctx` description to accurately reflect that it controls the total context window size (prompt + generated tokens), not just the generation window This contribution was developed with AI assistance (Claude Code). --- <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:36:41 -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#46061