Skip to main content

Module stream

Module stream 

Source
Expand description

Incremental generation invocation over explicitly injected capabilities.

Modules§

bridge
Sealed pair bindings over concrete native wire types; no shared content model.
event
Concrete native event collection. The associated payloads remain vendor wire types.
fanout
Ordered incremental multi-candidate calls. Child streams are polled one at a time; their first content is exposed before EOF. No started POST is replayed.
reader
Transport framing only. Native event validation belongs to the concrete pair.
synthesize
Encode an already converted complete response as a native client lifecycle. No new client identity is allocated after buffered invocation state was saved.
websocket
Concrete Responses WebSocket transport using the same incremental pair states. The host binds authentication to its target and state scope at connection time.

Structs§

ChatViaGeminiStreamFacts
ClaudeViaGeminiStreamFacts
GeminiViaClaudeStreamFacts
ResponsesHistoryCache
Connection-owned cache for store=false Responses continuation. Clone this handle only within one client connection; dropping all handles loses its cached content. No cache entries are written to StateStore for store=false.
ResponsesViaClaudeStreamFacts
ResponsesViaGeminiStreamFacts
StreamChunk
A client event and its already bounded native transport encoding. The final framing chunk ([DONE] or ]) has event = None and finished = true.
StreamInvocation
Caller-owned invocation and progress. Cancellation retains pending state writes/events; a started upstream send is never implicitly repeated.
StreamSettings
StreamTarget
Selected operation and per-invocation identity namespaces, supplied by the host.

Enums§

StreamStart

Functions§

response_output_as_input
Preserve the concrete Responses history variant when replaying completed output. In particular, do not deserialize through the untagged input union.