Query modes
config.queryMode controls how much conversation the blocking sub-agent
sees. Pick the smallest mode that still answers follow-ups well; grow
timeoutMs as context size grows, from message to recent to full.
- message
- recent
- full
Only the latest user message is sent.Use when you want the fastest behavior, the strongest bias toward stable
preference recall, and follow-up turns do not need conversational
context. Start around
3000-5000 ms for config.timeoutMs.Prompt styles
config.promptStyle controls how eager or strict the sub-agent is about
returning memory:
Default mapping when
config.promptStyle is unset:
config.promptStyle always overrides the mapping.
Model fallback policy
Ifconfig.model is unset, active memory resolves a model in this order:
config.modelFallbackPolicy is a compatibility field kept for older configs,
deprecated in v2026.4.12; it no longer changes runtime behavior — modelFallback is
strictly the last resort in the chain above, not a runtime failover that
swaps in another model when the resolved one errors.
Speed recommendations
Leavingconfig.model unset (inherit the session model) is the safest
default: it follows your existing provider, auth, and model preferences. For
lower latency, use a dedicated fast model instead — recall quality matters,
but latency matters more here than on the main answer path, and the tool
surface is narrow (only memory recall tools).
Good fast-model options:
cerebras/gpt-oss-120b, a dedicated low-latency recall modelgoogle/gemini-3-flash, a low-latency fallback without changing your primary chat model- your normal session model, by leaving
config.modelunset
Cerebras setup
chat/completions access for the chosen
model — /v1/models visibility alone does not guarantee it.