refactor: remove fast model routing (#11469)

Signed-off-by: f.sol <75c4a74c87b014467d845f4ddc1ee89c84c9ce5a106a7c595b7ecb940a5f0bb3@buzz.gdk.so>
Co-authored-by: f.sol <75c4a74c87b014467d845f4ddc1ee89c84c9ce5a106a7c595b7ecb940a5f0bb3@buzz.gdk.so>
This commit is contained in:
filip
2026-09-02 19:29:09 +00:00
committed by GitHub
parent 5f64232706
commit bbf0ddf7d0
28 changed files with 20 additions and 179 deletions
@@ -18,7 +18,6 @@ These are the minimum required variables to get started with goose.
|----------|---------|---------|---------|
| `GOOSE_PROVIDER` | Specifies the LLM provider to use | [See available providers](/docs/getting-started/providers#available-providers) | None (must be [configured](/docs/getting-started/providers#configure-provider-and-model)) |
| `GOOSE_MODEL` | Specifies which model to use from the provider | Model name (e.g., "gpt-4", "claude-sonnet-4-20250514") | None (must be [configured](/docs/getting-started/providers#configure-provider-and-model)) |
| `GOOSE_FAST_MODEL` | Overrides the provider's default fast model used for auxiliary calls (tool-selection, classification, session titles) | Model name (e.g., "gpt-4o-mini", "google/gemini-2.5-flash") | Provider-specific default |
| `GOOSE_TEMPERATURE` | Sets the [temperature](https://medium.com/@kelseyywang/a-comprehensive-guide-to-llm-temperature-%EF%B8%8F-363a40bbc91f) for model responses | Float between 0.0 and 1.0 | Model-specific default |
| `GOOSE_MAX_TOKENS` | Sets the maximum number of tokens for each model response (truncates longer responses) | Positive integer (e.g., 4096, 8192) | Model-specific default |
| `GOOSE_CACHE_TTL` | Sets the Anthropic prompt-cache TTL. `1h` keeps the cached prefix alive across idle gaps (e.g. stepping away mid-session) but bills cache writes at 2x input instead of 1.25x, so it only pays off for sessions that actually idle. Headless runs (`goose run`, subagents, scheduled recipes) always use `5m` | `5m`, `1h` | `5m` |
@@ -31,9 +30,6 @@ export GOOSE_PROVIDER="anthropic"
export GOOSE_MODEL="claude-sonnet-4-5-20250929"
export GOOSE_TEMPERATURE=0.7
# Override the fast model used for auxiliary calls (tool-selection, classification, etc.)
export GOOSE_FAST_MODEL="gpt-4o-mini"
# Set a lower limit for shorter interactions
export GOOSE_MAX_TOKENS=4096