models/chat_message library
Classes
- ChatMessageData
- Immutable message for hosts that do not already own a message model. id is stable across updates; revision must change when content changes.
- ChatMessageView
- Read-only projection. Implementations may retain streaming buffers without copying the complete transcript whenever a new token arrives.
- ChatQueuedPrompt
Enums
- ChatMessageRole
- Rendering roles shared by every backend. Execution remains host-owned.