Skip to content

agents / Exports / ConversationHistoryPluginOptions

Interface: ConversationHistoryPluginOptions

Configuration options for conversation history plugin

Hierarchy

Table of contents

Properties

Properties

enabled

Optional enabled: boolean

Whether the plugin is enabled

Inherited from

BasePluginOptions.enabled

Defined in

packages/agents/src/abstracts/base-plugin.ts:125


category

Optional category: PluginCategory

Plugin category for classification

Inherited from

BasePluginOptions.category

Defined in

packages/agents/src/abstracts/base-plugin.ts:127


priority

Optional priority: number

Plugin priority for execution order

Inherited from

BasePluginOptions.priority

Defined in

packages/agents/src/abstracts/base-plugin.ts:129


moduleEvents

Optional moduleEvents: EventType[]

Events to subscribe to from modules

Inherited from

BasePluginOptions.moduleEvents

Defined in

packages/agents/src/abstracts/base-plugin.ts:131


subscribeToAllModuleEvents

Optional subscribeToAllModuleEvents: boolean

Whether to subscribe to all module events

Inherited from

BasePluginOptions.subscribeToAllModuleEvents

Defined in

packages/agents/src/abstracts/base-plugin.ts:133


storage

storage: HistoryStorageStrategy

Storage strategy to use

Defined in

packages/agents/src/plugins/conversation-history/types.ts:14


maxConversations

Optional maxConversations: number

Maximum number of conversations to store

Defined in

packages/agents/src/plugins/conversation-history/types.ts:16


maxMessagesPerConversation

Optional maxMessagesPerConversation: number

Maximum messages per conversation

Defined in

packages/agents/src/plugins/conversation-history/types.ts:18


filePath

Optional filePath: string

File path for file storage strategy

Defined in

packages/agents/src/plugins/conversation-history/types.ts:20


connectionString

Optional connectionString: string

Database connection string for database storage

Defined in

packages/agents/src/plugins/conversation-history/types.ts:22


autoSave

Optional autoSave: boolean

Whether to auto-save after each message

Defined in

packages/agents/src/plugins/conversation-history/types.ts:24


saveInterval

Optional saveInterval: number

Save interval in milliseconds for batch saving

Defined in

packages/agents/src/plugins/conversation-history/types.ts:26

Released under the MIT License.