Skip to main content

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?

optional defaultConversationContextConfig: Partial<ConversationContextConfig>

Defined in: packages/agentos/src/core/conversation/ConversationManager.ts:34

Default configuration for newly created ConversationContext instances.


inactivityTimeoutMs?

optional inactivityTimeoutMs: 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?

optional maxActiveConversationsInMemory: 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?

optional persistenceEnabled: 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.