You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: default model claude-sonnet-4-5 retires on Nov 30, 2026 #275
Kit's built-in default model is anthropic/claude-sonnet-4-5-20250929. Anthropic retires Claude Sonnet 4.5 (claude-sonnet-4-5-20250929, and the undated claude-sonnet-4-5) on the Claude API on November 30, 2026. The recommended replacement is claude-sonnet-5-5. Source: Anthropic model deprecations.
After that date, a user who runs kit without --model and without model: in the config gets an API error on the first request, because requests to a retired model fail. Kit's own model catalog already marks Sonnet 4.5 as deprecated.
cmd/auth.go: the model that kit auth login anthropic --set-default writes
internal/config/config.go: commented model: line in the generated sample config
Steps to Reproduce
Log in to Anthropic (kit auth login anthropic) or set ANTHROPIC_API_KEY.
Do not set --model or model: in the config.
Run kit "hello" on or after November 30, 2026.
The request to claude-sonnet-4-5-20250929 fails.
Affected Component
config / default model (CLI, SDK, GitHub workflow setup, auth)
Kit Version
master
Additional Context
Proposed fix: change the default to anthropic/claude-sonnet-5-5.
claude-sonnet-5-5 rejects non-default temperature, top_p and top_k with HTTP 400. Its catalog entry has temperature: false, but today validateModelConfig clears only temperature. So an explicit --top-p / --top-k (or a top_p that the temperature/top_p conflict check keeps) still reaches the model. The fix must also handle these parameters, without silently dropping top_p / top_k that a user set on a custom model whose metadata does not mark them unsupported.
A first PR (#273) was closed automatically because it had no linked issue.
Checklist
I've searched existing issues and this hasn't been reported yet
Activity
mark-iii-labs-huly commentedon Nov 23, 2026
Connected to Huly®: KIT-276
fix(config): default to claude-sonnet-5-5 (#276)