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.

Interface

ConversationManagerConfig

Properties

appendOnlyPersistence?

optional appendOnlyPersistence: boolean

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

When enabled, persistence becomes append-only:

  • conversations and conversation_messages rows 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?

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.