Skip to main content

Module chat

Module chat 

Source
Expand description

Chat domain types.

These types represent chat conversations and messages in the domain model, independent of any infrastructure concerns.

ConversationSettings captures CLI/GUI session parameters (sampling, context, tools) so conversations can be faithfully resumed.

Structs§

Conversation
A chat conversation.
ConversationSettings
Session parameters captured at conversation creation for resume.
ConversationUpdate
Data for updating an existing conversation.
Message
A chat message within a conversation.
NewConversation
Data for creating a new conversation.
NewMessage
Data for creating a new message.

Enums§

MessageRole
The role of a message sender.