From 9b3869fc0923e5a20436188173ccc3197c07417f Mon Sep 17 00:00:00 2001 From: Tobias Fenster Date: Sun, 15 Mar 2026 12:43:39 +0100 Subject: [PATCH] add note about repackaging (#24366) ## Description Added a note about repackaging to increase context as discussed with @brandonh6k in #24243 ## Related issues or tickets #24243 ## Reviews - [ ] Technical review - [ ] Editorial review - [ ] Product review --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- content/manuals/ai/model-runner/ide-integrations.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/content/manuals/ai/model-runner/ide-integrations.md b/content/manuals/ai/model-runner/ide-integrations.md index 1a247c45ab..219eaf1e9c 100644 --- a/content/manuals/ai/model-runner/ide-integrations.md +++ b/content/manuals/ai/model-runner/ide-integrations.md @@ -25,6 +25,18 @@ Before configuring any tool: $ docker model pull ai/qwen2.5-coder ``` +> [!TIP] +> +> The default context size for many models (such as `gpt-oss`) is 4,096 tokens, which is limiting for coding tasks. +> You can repackage it with a larger context window: +> +> ```console +> $ docker model pull gpt-oss +> $ docker model package --from ai/gpt-oss --context-size 32000 gpt-oss:32k +> ``` +> Alternatively, models like ai/glm-4.7-flash, ai/qwen2.5-coder, and ai/devstral-small-2 +> come with 128K context by default and work without repackaging. + ## Cline (VS Code) [Cline](https://github.com/cline/cline) is an AI coding assistant for VS Code.