API reference
StreamObjectEvent
Event emitted by Agent.streamObject. Discriminate on `type`.
StreamObjectEvent
Auto-generated from TypeDoc on each build. Edit the JSDoc in packages/sdk/src/ to change this page.
Event emitted by Agent.streamObject. Discriminate on type.
partialevents fire zero or more times with monotonically increasingattempt, carrying best-effort schema-parsed snapshots of the model's accumulating output.completefires exactly once at the end, carrying the fully Zod-parsed object alongside usage and finishReason — semantically identical to a successfulAgent.generateObject()return.
Signature
type StreamObjectEventKind
type