Expand description
Streaming decoders for OpenAI Chat Completions and Responses APIs.
Retained custom decoder boundary: Rig’s SSE parser does not currently prove
parity for VTCode’s legacy LLMStreamEvent shape, fallback from empty final
Responses output to streamed deltas, cached prompt usage overlay, and
provider-specific error mapping. Protected by this module’s
stream_decoder tests and provider mock streaming tests. Remove only once a
Rig stream adapter preserves the same final LLMResponse and runtime event
behaviour.