Skip to main content

Interface: MemoryProviderHookOptions

Defined in: packages/agentos/src/api/runtime/memoryProviderHooks.ts:31

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.

Properties​

timeoutMs?​

optional timeoutMs: number

Defined in: packages/agentos/src/api/runtime/memoryProviderHooks.ts:37

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?​

optional tokenBudget: number

Defined in: packages/agentos/src/api/runtime/memoryProviderHooks.ts:42

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