Skip to main content

Interface: ObserverConfig

Defined in: packages/agentos/src/cognition/memory/core/config.ts:63

Properties

activationThresholdMessages?

optional activationThresholdMessages: number

Defined in: packages/agentos/src/cognition/memory/core/config.ts:71

Message-count threshold before the observer activates. Fires the observer in conversational use, where turns are far too small to ever reach the token threshold. Activation is tokens OR messages.

Default

20

activationThresholdTokens

activationThresholdTokens: number

Defined in: packages/agentos/src/cognition/memory/core/config.ts:65

Token threshold before observer activates.

Default

30_000

llmInvoker()?

optional llmInvoker: (systemPrompt, userPrompt) => Promise<string>

Defined in: packages/agentos/src/cognition/memory/core/config.ts:75

LLM invoker function.

Parameters

systemPrompt

string

userPrompt

string

Returns

Promise<string>


modelId?

optional modelId: string

Defined in: packages/agentos/src/cognition/memory/core/config.ts:73

LLM model ID for observation extraction (per-persona).