request_id is end-to-end traceable. If you report a bug, include it — we can find your request in the logs.
Error catalog
Provider-specific errors
Ifcode is provider_unavailable, the message comes from the original provider as-is. Common examples:
Recommended retry
Streaming errors
If you requeststream: true and something fails after the stream starts, you receive a final SSE message with the error shape:
error in addition to [DONE].