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_

贡献指南

打开贡献指南

调研方向

未提供文件、测试、入口点、受影响的版本或复现步骤。首先记录一个能够生成缺失的 str_replace-tool 消息的 Java 编程提示,并比较后续的编辑行为。完成的标准是确定为什么会请求不可用的工具,并确认同一任务可以在没有该错误的情况下完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
cli, tooling
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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