github / github/copilot-cli

Research try to use not existing tool "create" for file save

未关闭
#3,315 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
area:agents area:tools
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the bug

I use Copilot CLI. I made a research request. Results were printed in the console. I'm satisfied with the report, but the report could not be saved to the local disk. It tries to use a nonexistent tool "create": "Blocked item: I couldn’t save the report to
C:\Users\KanstantsinSudzilous\.copilot\session-state\5bf2e4e3-f93b-4f6e-a4b3-e35b52a8ae0f\research\excel-excel-template-pivot-table-data-3-2025-xlsx.md because the
create tool is not available in this session." Then in terminal I've made prompt "save this report to @docs\design\EXPORT_DEEP_RESEARCH.md" but it also failed, it was trying to use "create" tool that does not exist. Resolution was "save last research results report to @docs\design\EXPORT_DEEP_RESEARCH.md using tool apply_patch"

### Affected version

GitHub Copilot CLI 1.0.47

### Steps to reproduce the behavior

1. Make /research
2. Check the output it try to use a tool "create" to save report results

### Expected behavior

Expected to use apply_patch for file creation

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

首先在 Copilot CLI 1.0.47 中复现 /research 流程,然后按照生成报告的保存请求以及针对 @docs/design/EXPORT_DEEP_RESEARCH.md 的 prompt 进行操作。确认文件创建使用可用的 apply_patch 工具,而不是不存在的 create 工具。

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

评估

技术栈
shell
领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

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