ai.stream._StreamValue
The typed partial-value stream returned by an LLM function's `@stream` projection. This is the one canonical host-stream class; tagged handles carry its FQN across FFI so host bridges do not need to hardcode a namespace.
Reference version
Signature
class ai.stream._StreamValue<T>The typed partial-value stream returned by an LLM function's @stream
projection. This is the one canonical host-stream class; tagged handles carry
its FQN across FFI so host bridges do not need to hardcode a namespace.
Partial and final values share one type: a partial is the declared type parsed from the text received so far.
Source:<builtin>/ai/ns_stream/stream.bamlbytes 31199–31238
Fields
value
T