Skip to content

Conversation

@jck411
Copy link
Owner

@jck411 jck411 commented Nov 14, 2025

Inject tool-generated attachments into the assistant's final message content to ensure they are displayed in the chat.

Previously, attachments created by tools (e.g., gdrive_show_image) were not automatically added to the assistant's final message content, preventing them from being rendered in the frontend chat UI. This change ensures that if a tool returns an attachment ID and the assistant finishes without further tool calls, the attachment is explicitly included in the assistant's message.


Open in Cursor Open in Web

Co-authored-by: jck411 <jck411@gmail.com>
@cursor
Copy link

cursor bot commented Nov 14, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants