PublishedGALAST REVIEWED · 30 AUG 2026
Streaming
Consume OpenAI-compatible server-sent events while preserving cancellation and usage evidence.
Workflow
Consume OpenAI-compatible server-sent events while preserving cancellation and usage evidence.
- Set stream=true.
- Parse complete SSE events rather than transport chunks.
- Handle cancellation and partial output explicitly.
- Request and reconcile usage when the client supports it.
Production boundary
Was this page helpful?