Enum Normalized Stream Event
Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
Referenced types: String, Option, Value
Provider-neutral incremental stream item used by cross-protocol transcoders.
Variants
TextDelta
Assistant text delta.
Fields
text: String
Newly generated text.
ToolCallStart
Start of a function tool call.
Fields
id: String
Stable tool-call identifier.
name: String
Function name.
ToolCallArgumentsDelta
Incremental JSON arguments for a function tool call.
Fields
id: String
Stable tool-call identifier.
delta: String
Newly generated argument bytes.
Finish
Provider-reported terminal reason.
Fields
reason: Option<String>
Normalized or provider-native finish label.
Usage
Incremental or terminal usage object.
Fields
usage: Value
Provider-neutral usage JSON.
Error
Provider stream error payload.
Fields
error: Value
Structured provider error.
Trait Implementations
impl Clone for NormalizedStreamEvent
Referenced types: Clone, NormalizedStreamEvent
clone
Referenced types: clone, NormalizedStreamEvent
clone_from
Referenced types: clone_from
impl Debug for NormalizedStreamEvent
Referenced types: Debug, NormalizedStreamEvent
fmt
Referenced types: fmt, Formatter, Result, (), Error
impl<'de> Deserialize<'de> for NormalizedStreamEvent
Referenced types: Deserialize, NormalizedStreamEvent
deserialize
Referenced types: deserialize, Result, NormalizedStreamEvent, Deserializer, Error
impl PartialEq for NormalizedStreamEvent
Referenced types: PartialEq, NormalizedStreamEvent
eq
Referenced types: eq, NormalizedStreamEvent, bool
ne
Referenced types: ne, &Rhs, bool
impl Serialize for NormalizedStreamEvent
Referenced types: Serialize, NormalizedStreamEvent
serialize
Referenced types: serialize, Result, Serializer, Ok, Error
impl StructuralPartialEq for NormalizedStreamEvent
Referenced types: StructuralPartialEq, NormalizedStreamEvent