zeroclaw/docs/i18n/zh-CN
Argenis 95bf229225
fix(config): enable compact_context by default (#3995)
* fix: change compact_context default to true

Local LLMs with limited context windows immediately run out of context
when compact_context defaults to false. The system prompt alone can
consume 25K+ tokens, exceeding even 55K context windows with history.

Setting compact_context=true by default limits system prompt injection
to 6000 chars and RAG results to 2 chunks, making the agent usable
with smaller models out of the box.

Fixes #3987

* docs: update compact_context default to true in config reference

Update all locale variants (en, zh-CN, vi) to reflect the new default.

* test: update tests to expect compact_context default of true

Update assertions in schema.rs unit tests and config_persistence.rs
component tests to match the new default value.
2026-03-19 15:13:14 -04:00
..
contributing fix(docs): remove stale onboarding flags after CLI changes (#3516) 2026-03-14 17:54:14 -04:00
hardware docs(i18n/zh-CN): Complete full Chinese documentation translation and… (#3429) 2026-03-13 18:46:29 -04:00
maintainers fix(docs): remove stale onboarding flags after CLI changes (#3516) 2026-03-14 17:54:14 -04:00
ops docs(i18n/zh-CN): Complete full Chinese documentation translation and… (#3429) 2026-03-13 18:46:29 -04:00
reference fix(config): enable compact_context by default (#3995) 2026-03-19 15:13:14 -04:00
security fix(docs): remove stale onboarding flags after CLI changes (#3516) 2026-03-14 17:54:14 -04:00
setup-guides fix(docs): remove stale onboarding flags after CLI changes (#3516) 2026-03-14 17:54:14 -04:00