You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 034e740
Browse filesBrowse the repository at this point in the historyBrowse files
feat(chat): hydrate the comparison table from the selected records (#7262)
The chat records store only ingested tool outputs holding `hits`, so the
`algolia_compare_products` table could only be filled after the agent
re-searched the products the shopper had just selected — a redundant
round-trip, since the compare connector already attaches those records to
its user message (`metadata.turnContext.selected_products`).
`collectChatRecords` now also merges that selection, in message order, so a
record the agent does re-fetch later still wins. Malformed payloads are
ignored, and only user messages count.
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments