207a6c969d
A stream that dies after delivering deltas but with 0 recovered chars (and no captured tool call) produced a content-less assistant stub. That empty non-final message is invalid for the Anthropic schema, so every later request 400s with 'all messages must have non-empty content' (INVALID_REQUEST_BODY). On a large session the 400 was misclassified as context overflow, dropping the loop into a compression spiral that ends in 'Cannot compress further' — a misleading context-size error on a session nowhere near its limit. Root cause: substitute a minimal '[response interrupted]' placeholder so the stub is never empty. Misclassification: add _INVALID_MESSAGE_BODY_PATTERNS (checked before the context-overflow heuristic) to classify these as non-retryable format_error, and teach the body extractors the litellm/Bedrock errorMessage/errorCode/ errorArgs shape so descriptive proxy errors are not mistaken for generic ones. Adds RED-verified regression tests for the stub path and three classifier tests (including a guard that real overflows still compress).