Claude Code 400 Recovery When cache_control Cannot Be Set for Empty Text Blocks: Keep Your Session
You wake your terminal up, type a follow-up question, and the Anthropic API returns:
messages.N.content.M.text: cache_control cannot be set for empty text blocks
messages: text content blocks must be non-empty
Try again returns the same error. claude...
yurukusa.hashnode.dev7 min read