user-feedback icon indicating copy to clipboard operation
user-feedback copied to clipboard

Coding agent can't access attachment file in the Issue

Open dahatake opened this issue 1 year ago • 2 comments

I tried to use attachment files that described application functional requirement document in the Issue. I can successfully upload and attached file as issue.

After I assign task to GitHub Copilot Coding agent, agent can't access file.

In the session of the copilot, it output the following output in his/her tried. File path is correct and I can download file, but it looks like copilot can't access it.

Of course, I can put file in repo, but I really want to use this file out of repo because this is functional document.

Messeage:

Now I need to try to access the Word document that was linked in the comment. The user provided a GitHub file link: https://github.com/user-attachments/files/21208502/MyExpense.docx

Let me try to download and examine this file:

$ cd /tmp && curl -L -o MyExpense.docx "https://github.com/user-attachments/files/xxx/yyy.docx" % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 9 0 9 0 0 18 0 --:--:-- --:--:-- --:--:-- 18

dahatake avatar Jul 14 '25 04:07 dahatake

Hi @dahatake thanks for reaching out. The agent is not able to read attached files at the moment. I've opened an internal feature request for this.

In the meantime, you could explore using MCPs to access documentation stored in various systems.

nhu-do avatar Jul 23 '25 14:07 nhu-do

Thank you, @nhu-do As a workaround, I use /docs folder that made by me for agents. But I really love attached file...

  • Option: store attached file to specified folder like /docs.
  • Option: Agent can access attached file that is managed and fully isolated as managed service.

dahatake avatar Jul 28 '25 06:07 dahatake