Skip to main content

Module types

Module types 

Source

Structs§

CharacterAvatar
Base64-encoded character avatar for clients that cannot read the daemon’s local config filesystem.
CharacterInfo
Information about a character.
ImageRef
Reference to an image file.
Message
A chat message. One shape everywhere — no polymorphism.
MessageAlternative
Stored alternate body for a regenerated assistant message.
StreamMetadata
Metadata attached to stream_end.
TimingInfo
Timing information for a generation.
TokenCounts
Token usage counts from a generation.

Enums§

ContentBlock
A structured content block within a message.
Role
Role of a message participant.

Functions§

derive_content_from_blocks
Derive a human-readable text summary from content blocks (including tool results).
derive_content_from_blocks_with
Derive a human-readable text summary from content blocks.