Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[BUG] Tool calls trottling LLM

未关闭
#256 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 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 内容生成。

描述

bug

Tool calls(same command) trottling LLM with eventual RATE LIMIT error-

Image

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,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

editor-code-assistant/eca 的其他 Issue

查看 editor-code-assistant/eca 的全部 Issue

相似的 Issue

更多 Clojure Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。