You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.281,
ImprovementsSection of the release
What
set_model is a control request, a message an app built on the Claude Code SDK sends to change the model during a session. When it rejects bad input, its error now includes code: "invalid_request" next to the existing error message. This covers:
a model value that is not a string ("set_model: model must be a string")
an empty system_prompt ("set_model: system_prompt must be a non-empty string when present")