Interface MemoryProviderHookOptions

Optional caller overrides for the memory-hook budget guards. Both fields default to the module constants when omitted, preserving the historical behavior for existing callers.

interface MemoryProviderHookOptions {
    timeoutMs?: number;
    tokenBudget?: number;
}

Properties

timeoutMs?: number

Timeout (ms) applied to each getContext call. When the provider loses the race the turn ships without memory context and a warning is logged. Defaults to MEMORY_TIMEOUT_MS.

tokenBudget?: number

Token budget forwarded to getContext as the recall ceiling. Defaults to DEFAULT_MEMORY_TOKEN_BUDGET.