docs: model context limit overrides (#3377)

This commit is contained in:
dianed-square
2025-07-14 20:47:52 -07:00
committed by GitHub
parent fc3d59f6f9
commit 7d48d7dd34
2 changed files with 82 additions and 1 deletions

View File

@@ -131,7 +131,7 @@ export GOOSE_MAX_TURNS=100
export GOOSE_CLI_THEME=ansi
```
### Context Limit Configuration
### Model Context Limit Overrides
These variables allow you to override the default context window size (token limit) for your models. This is particularly useful when using [LiteLLM proxies](https://docs.litellm.ai/docs/providers/litellm_proxy) or custom models that don't match Goose's predefined model patterns.
@@ -156,6 +156,8 @@ export GOOSE_WORKER_CONTEXT_LIMIT=128000 # Smaller context for execution
export GOOSE_PLANNER_CONTEXT_LIMIT=1000000
```
For more details and examples, see [Model Context Limit Overrides](/docs/guides/smart-context-management#model-context-limit-overrides).
## Tool Configuration
These variables control how Goose handles [tool permissions](/docs/guides/managing-tools/tool-permissions) and their execution.