Structs§
Enums§
Constants§
- DIAGNOSTIC_
TRUNCATION_ MARKER - Appended to a diagnostic that hit
MAX_DIAGNOSTIC_BYTES, so a reader can tell a truncated message from a short one. - MAX_
DIAGNOSTIC_ BYTES - The longest upstream diagnostic a
ProviderErrorcarries, before the truncation marker.
Functions§
- is_
rate_ limit_ payload - Recognize only explicit provider rate-limit markers in an SSE JSON payload.