Forum Discussion
der_beni
Oct 31, 2024Copper Contributor
Uploading documents in a declarative agent
I am trying to create a declarative agent in VS Code that allows the user to upload and summarize a PDF document. However, when I provision the agent, the buttons to add context is greyed out:
I can drag and drop a file there, but this seem unintuitive and inconvenient as long as this button is disabled (because it gives the user the impression that they cannot upload anything).
Do you have any ideas how to solve this and enable this button?
- lnordlinCopper Contributor
I was looking for an answer to this in the MS documentation and couldn't find anything -- until I found this answer and learned that drag-and-drop exists as a workaround. Very odd that the feature does exist but Copilot tries to persuade you it doesn't!