docs: add VS Code context length guidance (#17610)

This commit is contained in:
Eva H 2026-08-10 09:46:25 -07:00 • committed by GitHub
parent 43f4eda808
commit 1a9e4235ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,6 +38,12 @@ ollama signin
Local models do not require sign-in.
## Context length
VS Code may show a model's maximum supported context length even when Ollama allocates a smaller context at runtime.
For local models, open Ollama **Settings**, set the context length to at least 64k, reload the VS Code window, and resend your prompt. See [Context length](/context-length) for more information.
## Troubleshooting
If Ollama models do not appear in the model picker: