Add fileIds to sendMultimodalMessage - #446
Conversation
Old backends ignore files and still receive the first attachment via file. Co-authored-by: Cursor <cursoragent@cursor.com>
PR SummaryLow Risk Overview When files are included, the client sends both the legacy The Reviewed by Cursor Bugbot for commit 672315c. Bugbot is set up for automated code reviews on this repo. Configure here. |
Summary
fileIdsbeside the existingfileIdonsendMultimodalMessage(plural wins).file+fileson the wire so older backends still receive the first attachment.fileIdas deprecated. Do not delete it.Written by Cursor Grok 4.6, using Cursor
Test plan
fileandfilesfileIdstestfileandfiles