roboto.ai.core.event
Module Contents
AgentErrorEvent
Bases: pydantic.BaseModel
Signals that message generation failed or was cancelled.
Parameters
data AnyAgentEvent
AgentStartTextEvent
Bases: pydantic.BaseModel
Signals the beginning of text generation in a chat response.
Parameters
data AnyAgentTextDeltaEvent
Bases: pydantic.BaseModel
Contains incremental text content as the AI generates its response.
Parameters
data AnyAttributes
AgentTextEndEvent
Bases: pydantic.BaseModel
Signals the completion of text generation in a chat response.
Parameters
data AnyAgentToolResultEvent
Bases: pydantic.BaseModel
Contains the result of a tool invocation.
Parameters
data AnyAttributes
AgentToolResultEvent.output
Raw tool output payload (from the underlying tool_result’s raw_response). May be None for errored invocations or for tools that return no data.
AgentToolResultEvent.runtime_ms
Wall-clock execution time of the tool in milliseconds, as reported by the tool-result content. None only if the underlying content omits it.
AgentToolUseEvent
Bases: pydantic.BaseModel
Signals that the AI is invoking a tool to gather information.
Parameters
data Any