Interface ObserverConfig

interface ObserverConfig {
    activationThresholdTokens: number;
    modelId?: string;
    llmInvoker?: ((systemPrompt, userPrompt) => Promise<string>);
}

Properties

activationThresholdTokens: number

Token threshold before observer activates.

Default

30_000
modelId?: string

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

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

LLM invoker function.

Type declaration

    • (systemPrompt, userPrompt): Promise<string>
    • Parameters

      • systemPrompt: string
      • userPrompt: string

      Returns Promise<string>