generated/llm_service.pb
library
Classes
-
LLMApi
-
-
LLMGenerateRequest
-
Generation settings live exclusively in
options. Reserved field numbers
prevent unsafe wire reuse.
-
LLMStreamEvent
-
Unified per-token streaming event. Replaces
LLMToken (deleted) and the per-SDK hand-rolled AsyncThrowingStream /
callbackFlow / StreamController / tokenQueue. One serialized event
per generated token. Mirrors VoiceEvent's seq + timestamp_us pattern
from voice_events.proto so frontends can reuse gap-detection logic.
-
LLMStreamEventKind
-
-
LLMStreamFinalResult
-
Aggregate terminal payload emitted by LLMStreamEvent. It intentionally keeps
stream-native token, timing, and error fields distinct from the unary
LLMGenerationResult shape.