domain/models/message library
Classes
- ContentBlock
- A content block within a message — mirrors Anthropic's content block types.
- ImageBlock
- A base64-encoded image content block.
- Message
- A single message in the conversation.
- TextBlock
- A plain text content block.
- TokenUsage
- Token usage statistics for an API call.
- ToolResultBlock
- The result returned from a tool execution.
- ToolUseBlock
- A tool invocation content block.
Enums
- MessageRole
- The role of a message sender in the conversation.
- StopReason
- Reason the model stopped generating output.