Error reference changederrors
Nearest release: v2.1.309, published an hour after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 22 Oct 2026 18:47 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 22 Oct 2026 19:07 UTC.
Upstream edited
Recorded here
Lines+1added
Lines−1removed
From line
2,545
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits191to this page, all time
The whole hunk
from line 2545, old and new numbered
/
This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
from line 2545
25452545
25462546### Couldn't confirm model with the API
25472547
2548You switched models through the [Agent SDK](/docs/en/agent-sdk/typescript.md) `setModel()` method or an app that runs the Claude Code CLI for you, such as the [Desktop app](/docs/en/desktop.md), and the request that confirms the model ID with your API endpoint got no answer within five seconds. The session keeps its current model.
2548You switched models through the [Agent SDK](/docs/en/agent-sdk/typescript.md) `setModel()` method or an app that runs the Claude Code CLI for you, such as the [Desktop app](/docs/en/desktop.md), and the request that confirms the model ID with your API endpoint got no answer within 15 seconds. The session keeps its current model.
25492549
25502550```text theme={null}
25512551Couldn't confirm model "claude-sonnet-5" with the API. Try again, or run /model to see available models.
from line 2630
26302630
26312631Typing `/model <name>` for a restricted model is rejected and the session keeps its current model. For a model disabled in the admin console, the rejection reads `Model '<name>' is restricted by your organization's settings. Run /model to choose a different model.` For a model that managed settings exclude, it reads `Model '<name>' is not available. Your organization restricts model selection.`
26322632
2633A notice prefixed with an agent
2633A notice prefixed with an agent,
No line in this hunk matches that.