Structs§
Functions§
- parse_
anthropic_ sse_ stream - Parse an Anthropic SSE stream into chat chunks.
- parse_
gemini_ sse_ stream - Parse a Gemini
streamGenerateContent?alt=ssestream into chat chunks. - parse_
responses_ sse_ stream - Parse Responses API SSE events into the existing text/reasoning stream.
Function-call events remain available in
raw; callers that need a final normalizedtool_callsarray should use non-streaming completion. - parse_
sse_ stream - Parse an OpenAI-compatible SSE stream into chat chunks.