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

Claude Code v2.1.221 ·

Local HTTP API rejects non-string model fields

The local HTTP API now returns a clear 400 when model isn't a string, instead of ignoring it.

You'll notice Bug Fixes
JSON All of v2.1.221
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.221,
Bug FixesSection of the release
What

A request body whose model key is not a string now fails loudly instead of having the field quietly ignored.

Details
  • Returns 400 with an invalid_request_error.
Evidence

model must be a string

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.221 →

Feedback