mirror of
https://github.com/docker/docs.git
synced 2026-03-27 06:18:55 +07:00
add note about repackaging (#24366)
<!--Delete sections as needed --> ## Description Added a note about repackaging to increase context as discussed with @brandonh6k in #24243 ## Related issues or tickets #24243 ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [ ] Editorial review - [ ] Product review --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user