mirror of
https://github.com/ultraworkers/claw-code.git
synced 2026-06-06 16:30:10 +08:00
When a provider returns HTML (e.g., error page, wrong endpoint) instead of JSON in an SSE stream, provide a clear error message instead of hanging or failing with a cryptic parse error. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>