New request
#2780: Bug: Pasted images can't be seen by agent in a chat
We'll provision a sandbox, run an agent against the issue, and open a draft PR. You can pull the branch and iterate from there.
Issue
bugneedinfo
When I paste an image (such as a screenshot) into the chat, it renders inline, but Hermes doesn't see it and can't do anything with it.
Here's an example:
<img width="856" height="627" alt="Image" src="https://github.com/user-attachments/assets/507815f8-43b8-4dcd-915c-5ca0942a1ed2" />That [Attached files: screenshot-1779510088657.png] line got added to my prompt after the response was finished streaming in.
Assessmentadvisory
bug●● medium80% confidence
Paste rendering works but the attachment is appended after streaming ends, indicating a message-assembly or multimodal payload bug spanning frontend composer and chat API handlers.
Likely files
- static/composer.js
- static/chat.js
- static/api.js
- api/routes.py
- api/attachments.py
Create the request