Skip to main content

Module message

Module message 

Source

Structs§

AssistantMessage
An assistant message produced by the LLM.
ImageContent
TextContent
TokenUsage
Token usage statistics.
ToolCall
A tool call requested by the assistant.
ToolResultMessage
A message carrying the result of a tool execution back to the LLM.
UserMessage
A user message sent to the agent.

Enums§

AgentMessage
Union of all message types visible to the core.
Content
Content block within a message.
StopReason
Why an assistant response stopped.