What
A host is a program that runs Claude Code, for example through the SDK (the kit for building your own programs on top of Claude Code). A host can ask Claude Code to change model with set_model. Claude Code now waits for the result of that request with no time limit.
- The
set_modelhandler no longer has a deadline. Before, if the result was not ready in time, it replied with the error codeverdict_pendingand told the user the outcome later. - The "This model switch is still pending" error and the later "The pending model switch was applied" notices are removed.
- The remote bridge, which connects Claude Code to sessions elsewhere, no longer passes a deadline (
deadlineMs, taken fromsetModelVerdictDeadlineMs) when waiting on aset_modelresult.
Why
Hosts now get one final answer once the model switch is settled, instead of an early error followed by a separate notice. A host that relied on a quick reply should expect the request to wait until the switch is decided.
Names in the bundleset_model
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agree
Fixed model switches over Remote Control that take over 8 seconds getting a "still pending" error instead of the final result