Open Agent Loops
API Reference

StreamEventType

@open-agent-loops/core


Defined in: model.types.ts:55

Discriminant tags for StreamEvent.

Remarks

A string enum whose values are the wire strings they replace, so nothing about the emitted events changes on the wire — only in-code references become named constants.

Enumeration Members

Enumeration MemberValueDescriptionDefined in
Done"done"Terminal event carrying the assembled assistant message.model.types.ts:63
Error"error"The model failed; message holds whatever was assembled.model.types.ts:65
ReasoningDelta"reasoning_delta"Partial chain-of-thought (provider field reasoning / reasoning_content).model.types.ts:57
TextDelta"text_delta"Partial assistant text (streamed token-by-token / chunked).model.types.ts:59
ToolCall"tool_call"A fully-formed tool invocation the model wants to make.model.types.ts:61

On this page