Skip to main content

StreamEvent

Agent Runtimes


Agent Runtimes / types/inference / StreamEvent

Interface: StreamEvent

Defined in: src/types/inference.ts:122

Streaming event

Properties

delta?

optional delta?: ChatMessageDelta

Defined in: src/types/inference.ts:125


error?

optional error?: Error

Defined in: src/types/inference.ts:127


finishReason?

optional finishReason?: string

Defined in: src/types/inference.ts:128


messageId?

optional messageId?: string

Defined in: src/types/inference.ts:124


toolCall?

optional toolCall?: ToolCallRequest

Defined in: src/types/inference.ts:126


type

type: StreamEventType

Defined in: src/types/inference.ts:123