← 返回
AI智能
中文
OpenClaw Context Upgrade
Diagnose and upgrade OpenClaw conversation context limits, especially moving a chat from ~272k to 1M. Use when the user asks to enlarge context, make GPT-5.4...
诊断并升级 OpenClaw 对话上下文限制,特别是将对话从约 272k 提升至 1M。当用户请求扩大上下文或创建 GPT-5.4 等时使用。
gyliiiiii
AI智能
clawhub
v1.0.0 1 版本 100000 Key: 无需
#latest
概述
版本历史 (1)
安全
概述
OpenClaw Context Upgrade Check current state first Run session_status and record: current model current Context whether the session already shows 1.0m If the user is only asking "why isn't it 1M yet", diagnose first. Do not change config blindly. Inspect the exact config path before editing Inspect agents.defaults.contextTokens with gateway config.schema.lookup. If model selection matters, also inspect agents.defaults.model. Use gateway config.patch for changes. Do not tell the user to run openclaw CLI for this workflow. Upgrade workflow Make sure the target session is using a high-context model. Prefer model alias GPT-5.4 for this workflow. During verification, avoid relying on fallback behavior. If needed, use session_status with a session model override to pin the current session to GPT-5.4. Raise the default context budget. Set agents.defaults.contextTokens = 1000000. If the user's goal is future sessions, patch defaults. If the user only wants diagnosis, explain the change without applying it. Let the restart happen. gateway config.patch restarts OpenClaw automatically.Always include a clear note so the user gets a useful completion message after restart. Force a fresh chat session. Tell the user to use /new or /reset. Old chats often keep the earlier session budget and mislead verification. Verify after the fresh session starts. Run session_status again. Success looks like Context: .../1.0m or similar. Diagnose common failure modes Still shows .../272k Check these in order:
The chat was not restarted with /new or /reset. The session is still on the wrong model or a fallback model. The provider/model pair is returning a lower real cap. The config patch did not target agents.defaults.contextTokens correctly. Tell the truth about limits Do not promise 1M if the provider is actually returning a smaller cap. OpenClaw can request a larger budget, but it cannot exceed the model/provider limit in reality. If verification still shows 272k, say that plainly and explain whether the blocker is session reuse, model mismatch, or provider cap. Default reply pattern Use this sequence when answering:
State the current observed limit. Give the exact fix order: pin model to GPT-5.4 set agents.defaults.contextTokens = 1000000 restart /new or /resetverify with session_status End with the caveat that provider limits still win.
版本历史
共 1 个版本
v1.0.0
当前
2026-03-30 02:07 安全 安全
安全检测
腾讯云安全 (Sanbu)
安全,无风险
查看报告
🔗 相关推荐
ai-intelligence
pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,055
📥 795,847
ai-intelligence
halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 833
📥 212,774
ai-intelligence
ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,349
📥 317,694