Skip to main content

Module manager

Module manager 

Source
Expand description

Multi-session Bot orchestrator.

ChatbotManager<T> is the core of robit-chatbot. It connects to a platform via PlatformAdapter, receives chat events, and routes each message to an independent Agent session — one Agent per chat, matching the robit-gui pattern. Sessions are persisted to SQLite keyed by platform chat_id, so a chat that messages the bot again after its in-memory Agent expired gets a fresh session backed by the same DB record.

Structs§

AgentHandle
Handle to a running Agent instance for one chat.
ChatbotManager
Core orchestrator for multi-session Bot operations.

Enums§

ManagerError
Errors that can occur while constructing a ChatbotManager.