claude_code.internal._push_text
(internal) The API rejects empty and whitespace-only text blocks, and a rendered prompt routinely produces them around media parts.
Reference version
Signature
function claude_code.internal._push_text(blocks: baml.json.json[], text: string) -> null throws never
(internal) The API rejects empty and whitespace-only text blocks, and a rendered prompt routinely produces them around media parts.
Source:<builtin>/claude_code/ns_internal/content.bamlbytes 2328–2479