[BUG] Tool calls trottling LLM
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- clojure
调研方向
Start by tracing the tool-call flow that emits the [TOOLS] Calling tool log and the LLM request handling that returns the 429 rate-limit error; the issue names no source files or tests. Reproduce repeated identical tool calls and inspect how they are handled. Done means the repeated calls no longer trigger the reported rate-limit failure, with regression coverage for the behavior.
由索引模型根据 Issue 内容生成。
描述
Tool calls(same command) trottling LLM with eventual RATE LIMIT error-
Here is the log, let me know I can help debug this issue, have been seeing this quite frequently.
Using ECA 0.89.0 on emacs. This has been a issue for a while, I have noticed this in previous versions of ECA as well.
LLM being used is Mistral Devstral-2-small, although this issue occurs with other LLMs as well
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos", "pattern" "PathInjector\\.new.*inject_path"}'
[TOOLS] Calling tool 'eca__read_file' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "line_offset" 1910, "limit" 30}'
[TOOLS] Calling tool 'eca__read_file' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "line_offset" 1940, "limit" 30}'
[TOOLS] Calling tool 'eca__read_file' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "line_offset" 1970, "limit" 30}'
[TOOLS] Calling tool 'eca__read_file' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "line_offset" 2000, "limit" 100}'
[TOOLS] Calling tool 'eca__read_file' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "line_offset" 2100, "limit" 100}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[TOOLS] Calling tool 'eca__grep' with args '{"path" "/home/mypc/git-repos/build-emacs-for-macos/build-emacs-for-macos", "pattern" "inject_path.*true", "max_results" 5}'
[OPENAI-CHAT] 7403 Unexpected response status: %s body: %s 429 {"object":"error","message":"Rate limit exceeded","type":"rate_limited","param":null,"code":"1300"}
{:message LLM response status: 429 body: {"object":"error","message":"Rate limit exceeded","type":"rate_limited","param":null,"code":"1300"}}
:db/upsert-cache 7ms
- 主要语言
- Clojure
- 星标
- 1k
- 派生
- 82
- 平均合并
- 1 天 19 小时
- 30 天内合并 PR
- 18
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
editor-code-assistant/eca 的其他 Issue
-
Models doesn't work when fetchModels: false is used可能已有人在做 @zikajk 于 1 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
editor-code-assistant/eca#661 · 已指派 1 人 ·
维护者通常 2 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
editor-code-assistant/eca#664 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 3/5 1-2 天 新手友好度 56/100
editor-code-assistant/eca#662 · 1 个 reaction ·
维护者通常 2 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 25/100
editor-code-assistant/eca#652 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 5/5 一周以上 新手友好度 12/100
editor-code-assistant/eca#648 · 1 条评论 ·
维护者通常 2 天内回复
查看 editor-code-assistant/eca 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 90/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
.Frontend .Team/UXWest Priority:P3 Querying/Filters Type:Bug
难度 2/5 1-3 小时 新手友好度 76/100
metabase/metabase#85298 · 1 条评论 ·
维护者通常 1 天内回复
-
pgwire
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
software-mansion/starknet-jvm#641 ·