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.
Interface
ConversationManagerConfig
Properties
appendOnlyPersistence?
optionalappendOnlyPersistence:boolean
Defined in: packages/agentos/src/core/conversation/ConversationManager.ts:45
When enabled, persistence becomes append-only:
conversationsandconversation_messagesrows are never updated or deleted- new messages are inserted once and subsequent saves are idempotent
This is intended to support provenance "sealed" mode / immutability guarantees.
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.