Attachments are silently ignored when using the /fleet command
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 55/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- vscode
调研方向
首先,在带有附件和 /fleet 命令的 Copilot agent 会话中复现该问题,然后将其与附件能够正常传递的普通消息进行比较。跟踪命令专用消息的处理位置,并确定附件是否可以转发,或者是否必须在运行开始前触发警告。完成标准是附件可供 Fleet 使用,或用户在运行开始前收到明确的警告。
由索引模型根据 Issue 内容生成。
描述
Summary
When a message includes attachments (for example an image, a file or folder
reference, selected code, or large pasted content) and that message uses the
/fleet command, the attachments are not delivered to the agent. Fleet runs
using only the typed text, and the user is given no indication that the
attached context was dropped.
Steps to reproduce
- Open an agent session (Copilot).
- Add one or more attachments to the message (e.g. paste an image, attach a
file, or add a file/folder reference). - Start the message with the
/fleetcommand, e.g.
/fleet analyze the attached screenshot and split the work. - Send the message.
Expected behavior
Either:
- the attachments are made available to Fleet just as they are for a normal
message, or - if attachments cannot be used with
/fleet, the user is clearly told before
the run starts (so they can resend without/fleetor adjust their request).
Actual behavior
- The attachments are silently discarded.
- Fleet proceeds using only the typed prompt text.
- There is no warning, error, or other signal that the attachments were ignored.
Impact
- The agent can produce confident but wrong results because it never received
context the user explicitly attached and referred to. - The loss is invisible: users reasonably assume attachments were included,
since they are included for normal (non-/fleet) messages. - This is most damaging when the request directly depends on the attachment
(e.g. "analyze this screenshot", "refactor the attached file").
Possible resolutions
- Support forwarding attachments to Fleet so
/fleetbehaves like a normal
message with attachments. - If attachments can't be supported, surface a clear, upfront message when a
/fleetmessage includes attachments, instead of silently dropping them.
Notes
- Reproducible with the
/fleetcommand specifically; normal messages deliver
attachments as expected. - Severity is "silent data/context loss," which is easy to miss and hard to
diagnose after the fact.
Environment
- VS Code version:
- OS:
- 主要语言
- Java
- 星标
- 10.5k
- 派生
- 1.5k
- 平均合并
- 1 天 12 小时
- 30 天内合并 PR
- 133
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/copilot-sdk 的其他 Issue
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 68/100
github/copilot-sdk#2709 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 78/100
github/copilot-sdk#2673 ·
-
bug testing
难度 2/5 1-3 小时 新手友好度 75/100
github/copilot-sdk#2628 ·
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 68/100
github/copilot-sdk#2627 · 1 条评论 ·
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 74/100
github/copilot-sdk#2493 ·
查看 github/copilot-sdk 的全部 Issue
相似的 Issue
-
bug
难度 1/5 1 小时以内 新手友好度 90/100
apache/cloudstack#14222 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
-
1.0.0-alpha2 Type/Improvement
难度 2/5 1-3 小时 新手友好度 68/100
wso2/dpdp-accelerator#272 ·
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
apache/rocketmq-dashboard#4860 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
infinispan/infinispan#18150 ·