Claude Code v2.1.229 ·
Empty prompts in non-interactive runs no longer hit the API
A blank prompt in a scripted run stops right away with a warning instead of calling the API.
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
CLIArea: what it touches
Bug FixesKind: in v2.1.229,
Bug FixesSection of the release
What
A prompt made up entirely of whitespace in a non-interactive session now stops immediately with a warning instead of sending an empty query.
Details
- Reported as
prompt_submit_empty.
Evidence
prompt_submit_empty
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.229 →