Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.225 ·

REPL sampling helpers report validation errors as progress instead of failing silently

Bad arguments to the in-REPL sampling helpers now show a visible error instead of vanishing.

You'll notice Bug Fixes
JSON All of v2.1.225
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Bug FixesKind: in v2.1.225,
Bug FixesSection of the release
What

The in-REPL haiku, opus, sonnet and fable sampling helpers emit their start progress event before validating arguments, so bad input shows up as a visible error rather than a throw with nothing recorded.

Details
  • "prompt must be a string" and "schema must be an object" now arrive as a repl_tool_call progress event with phase "error"
  • a non-string prompt is recorded in progress as an assembled placeholder naming its typeof
Evidence

schema must be JSON-serializable

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.225 →

Feedback