Bases: ObservationBaseEventError triggered by the agent.Note: This event should not contain model “thought” or “reasoning_content”. It
represents an error produced by the agent/scaffold, not model output.
model_config: = (configuration object)
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
source: Literal[‘agent’, ‘user’, ‘environment’]
summary: str | None
summary_offset: int | None
visualize: Text
Return Rich Text representation of this event.
This is a fallback implementation for unknown event types.
Subclasses should override this method to provide specific visualization.
model_config: = (configuration object)
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
source: Literal[‘agent’, ‘user’, ‘environment’]
visualize: Text
Return Rich Text representation of this event.
This is a fallback implementation for unknown event types.
Subclasses should override this method to provide specific visualization.
Bases: EventEvent that contains conversation state updates.This event is sent via websocket whenever the conversation state changes,
allowing remote clients to stay in sync without making REST API calls.All fields are serialized versions of the corresponding ConversationState fields
to ensure compatibility with websocket transmission.
model_config: ClassVar[ConfigDict] = (configuration object)
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
source: Literal[‘agent’, ‘user’, ‘environment’]
timestamp: str
visualize: Text
Return Rich Text representation of this event.
This is a fallback implementation for unknown event types.
Subclasses should override this method to provide specific visualization.
Bases: EventEvent containing LLM completion log data.When an LLM is configured with log_completions=True in a remote conversation,
this event streams the completion log data back to the client through WebSocket
instead of writing it to a file inside the Docker container.
model_config: ClassVar[ConfigDict] = (configuration object)
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
reasoning_content: str
sender: str | None
source: Literal[‘agent’, ‘user’, ‘environment’]
thinking_blocks: Sequence[ThinkingBlock | RedactedThinkingBlock]
Return the Anthropic thinking blocks from the LLM message.
visualize: Text
Return Rich Text representation of this message event.