Are you an LLM? You can read better optimized documentation at /api/@nhtio/adk/batteries/llm/anthropic_messages/error_translation/variables/CONTEXT_OVERFLOW_PHRASE.md for this page in Markdown format
Variable: CONTEXT_OVERFLOW_PHRASE
ts
const CONTEXT_OVERFLOW_PHRASE: "prompt is too long" = "prompt is too long";Defined in: src/batteries/llm/anthropic_messages/error_translation.ts:30
Body-text marker identifying an Anthropic context-overflow rejection.
Remarks
Context overflow arrives as a 400 BadRequestError and is detected from body TEXT, not status — the status alone cannot distinguish it from any other bad request.