openclaw/docs/concepts
starbuck100 c44cc77fa6
compaction: add configurable model override
Allow users to specify a different model for compaction summarization
via `agents.defaults.compaction.model`. When set, compaction uses
this model instead of the agent's primary model.

This is useful for hybrid local+cloud setups where the primary model
is a small local model (e.g. Ollama/Qwen) but compaction benefits
from a more capable summarizer (e.g. cloud Claude), or a dedicated
local model fine-tuned for summarization.

Config example:
  "compaction": { "model": "openrouter/anthropic/claude-sonnet-4-5" }

Falls back to the primary model when unset (no behavior change for
existing configs).

Closes #7926

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 10:38:10 -07:00
..
agent-loop.md add prependSystemContext and appendSystemContext to before_prompt_build (fixes #35131) (#35177) 2026-03-05 13:06:59 -05:00
agent-workspace.md fix(security): harden workspace bootstrap boundary reads 2026-03-02 17:07:36 +00:00
agent.md docs: canonicalize docs paths and align zh navigation (#11428) 2026-02-07 15:40:35 -05:00
architecture.md fix(gateway): pin paired reconnect metadata for node policy 2026-02-26 14:11:04 +01:00
compaction.md compaction: add configurable model override 2026-03-08 10:38:10 -07:00
context.md docs: context engine 2026-03-06 08:55:58 -05:00
features.md fix(android): remove mic and screen foreground services 2026-03-08 16:25:49 +05:30
markdown-formatting.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
memory.md feat(memory): add Ollama embedding provider (#26349) 2026-03-02 20:56:40 -05:00
messages.md docs: canonicalize docs paths and align zh navigation (#11428) 2026-02-07 15:40:35 -05:00
model-failover.md docs(models): clarify moonshot thinking and failover stop-reason errors 2026-03-03 01:11:29 +00:00
model-providers.md fix: add gemini 3.1 flash-lite support 2026-03-08 05:12:48 +00:00
models.md Secrets: harden SecretRef-safe models.json persistence (#38955) 2026-03-07 11:28:39 -06:00
multi-agent.md fix(channels): add optional defaultAccount routing 2026-03-02 04:03:46 +00:00
oauth.md docs: tighten subscription guidance and update MiniMax M2.5 refs 2026-03-03 00:02:37 +00:00
presence.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
queue.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
retry.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
session-pruning.md docs: detail per-agent prompt caching configuration 2026-02-23 18:46:40 +00:00
session-tool.md sessions_spawn: inline attachments with redaction, lifecycle cleanup, and docs (#16761) 2026-03-01 21:33:51 -08:00
session.md fix(auto-reply): expand standalone stop phrases 2026-02-24 04:02:43 +00:00
streaming.md fix(telegram): use message previews in DMs 2026-03-08 21:59:43 +05:30
system-prompt.md Agent: unify bootstrap truncation warning handling (#32769) 2026-03-03 16:28:38 -05:00
timezone.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
typebox.md feat(agents): use structured internal completion events 2026-03-01 23:11:48 +00:00
typing-indicators.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
usage-tracking.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00