--- title: "养虾日记4-Context错误" type: source tags: [article] date: 2025-04-10 --- ## Source File - [[raw/微信公众号/养虾日记4: 一次「Context Limit Exceeded」错误排查:我以为是小问题,结果踩了大坑.md]] ## Summary - 核心主题:OpenClaw Context Limit错误排查 - 问题域:对话上下文超出限制 - 方法/机制:排查compaction配置和reserveTokensFloor - 结论/价值:解决context满的常规问题需要深入理解配置 ## Key Claims - reserveTokensFloor配置在openclaw.json - compaction模式影响对话压缩程度 ## Key Concepts - [[Context]]:对话上下文窗口 - [[Compaction]]:对话压缩机制 ## Key Entities - [[OpenClaw]]:AI Agent框架 ## Connections - [[OpenClaw]] ← 受限于 ← [[Context]] ## Contradictions