Interface ReflectorConfig

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

Properties

activationThresholdTokens: number

Token threshold for notes before reflection triggers.

Default

40_000
modelId?: string

LLM model ID for reflection/consolidation (per-persona).

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

LLM invoker function.

Type declaration

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

      • systemPrompt: string
      • userPrompt: string

      Returns Promise<string>