github / github/copilot-cli

Tool 'str_replace' does not exist.

未關閉
#4,027 1 則留言 15 個 reaction 已指派 0 人 在 GitHub 檢視
area:tools
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

I see this quite often when copilot works on java code it prints

> JV Edit X.java Tool 'str_replace' does not exist.

followed by another edit (maybe using the diff tool?)

> JV Edit X.java +1 -1

### Affected version

_No response_

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

No file, test, entry point, affected version, or reproduction steps are provided. Start by capturing a Java coding prompt that produces the missing str_replace-tool message and compare the subsequent edit behavior. Done means identifying why the unavailable tool is requested and confirming that the same task completes without the error.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
cli, tooling
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
活躍
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。