Independent community project. Not affiliated with or endorsed by Google.
ModelCraft modelcraft.dev
← 返回全部急救指南
high ✓ 实测验证日期: 2026-11-26 AGY v2.35.2 / Gemini Pro & Ultra
quota google agygemini-cligemini-web

5 小时滚动窗口或 7 天周共享配额上限触顶

429 WEEKLY_LIMIT_EXCEEDED RATE_LIMIT_EXCEEDED
常见症状特征
  • • Heavy Neon or Carbon agent loops exhaust quota early in the 5h window.
  • • Daily PT midnight passes, yet Antigravity still blocks frontier models due to the 7-day rolling weekly cap.
  • • Single long uncompacted session burns tens of millions of uncached input tokens.
故障根因

5 小时滚动窗口或 7 天周共享桶真实耗尽。常见诱因包括用 Neon/Carbon 做机械改写、长会话未及时 /compact,或破坏了 4,096 Token 隐式缓存前缀(多轮需新增 >= 2,050 Token 才能完整缓存上一轮)。

分步修复步骤

  1. 1 通过 agycraft-mcp(analyze_token_usage + get_saving_recommendations)排查本机 5h/7d 消耗与长会话雪球风险。
  2. 2 立即执行 /compact 压缩上下文,或利用 AGY v2.35.2+ 在轮次中将 Neon 切换为 Hydrogen。
  3. 3 在 AGY CLI 中运行 /usage 与 /credits 查看配额与 AI Credits 超额策略(Never / Always)。
  4. 4 维护 .geminiignore 排除 node_modules、构建产物与锁文件。

一键复制修复命令

Run local quota & context hygiene check (all)
npx agycraft-mcp doctor
Create a minimal .geminiignore to stop context bloat (unix)
printf 'node_modules/\ndist/\nbuild/\n.git/\n*.lock\n' >> .geminiignore

修完验证命令

Verify
test -f .geminiignore && npx agycraft-mcp doctor