Skip to main content

Module session

Module session 

Source
Expand description

Conversation session types.

Session stores an append-only message history for a single channel + chat_id pair. It is designed for LLM cache efficiency: consolidation writes summaries to external files but never mutates the in-memory message list.

Structsยง

Session
A conversation session.