Expand description
Core types for controller communication. Core types for controller communication and message handling.
Structs§
- Assistant
Message - A message from the assistant
- Controller
Input Payload - Payload for input to the controller
- Error
Info - Error information for failed operations
- FromLLM
Payload - Payload for responses from the LLM
- LLMRequest
Options - Per-request LLM options that override session defaults
- Text
Block - A text content block
- ToLLM
Payload - Payload for requests sent to the LLM
- Tool
Result Block - A tool result block
- Tool
Result Info - Information about a tool result to send back to the LLM
- Tool
UseBlock - A tool use request block
- Tool
UseInfo - Information about a tool use request
- Turn
Counter - Thread-safe counter for generating turn numbers
- TurnId
- Identifies a turn in the conversation (e.g., “u1”, “a1”, “u2”, “a2”)
- User
Message - A message from the user
Enums§
- Content
Block - A content block within a message
- Content
Block Type - Type of content block in a message
- Control
Cmd - Control commands for the controller
- Controller
Event - Event emitted by the controller
- Input
Type - Type of input to the controller
- LLMRequest
Type - Type of request being sent to the LLM
- LLMResponse
Type - Type of response from the LLM
- Message
- A message in the conversation
- Message
Role - Role of a message in the conversation
Constants§
- OWNER_
ASSISTANT - Owner identifier for assistant turns.
- OWNER_
USER - Owner identifier for user turns.