Interface: ConversationManagerConfig
Defined in: packages/agentos/src/core/conversation/ConversationManager.ts:33
Configuration for the ConversationManager. Defines settings for managing conversation contexts, including persistence options.
ConversationManagerConfig
Properties
defaultConversationContextConfig?
optionaldefaultConversationContextConfig:Partial<ConversationContextConfig>
Defined in: packages/agentos/src/core/conversation/ConversationManager.ts:34
Default configuration for newly created ConversationContext instances.
inactivityTimeoutMs?
optionalinactivityTimeoutMs:number
Defined in: packages/agentos/src/core/conversation/ConversationManager.ts:36
Timeout in milliseconds for inactive conversations. If set, a cleanup process might be implemented to evict conversations inactive for this duration. (Currently conceptual)
maxActiveConversationsInMemory?
optionalmaxActiveConversationsInMemory:number
Defined in: packages/agentos/src/core/conversation/ConversationManager.ts:35
Maximum number of active conversations to keep in memory. LRU eviction may apply.
persistenceEnabled?
optionalpersistenceEnabled:boolean
Defined in: packages/agentos/src/core/conversation/ConversationManager.ts:37
Controls whether storage adapter is used for database persistence of conversations. If true, a StorageAdapter instance must be provided during initialization.