Skip to main content

Module gemini

Module gemini 

Source
Expand description

Bounded native Gemini stream collection and buffered response synthesis.

Structs§

GeminiStreamCollector
Collects native chunks without retaining a second copy of the event log. Content is incremental; usage and non-content metadata are native cumulative snapshots. A failed push poisons the collector so partial state cannot pass.
GeminiStreamLimits

Functions§

synthesize_gemini_stream
Gemini streams contain the same native response body as buffered delivery. A single terminal chunk is a valid synthesized stream. Validation shares the collector’s complete lifecycle and memory bounds; no counters are invented.