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
This is only needed temporarily until we have Callum's researcher-first
view.
## Summary
- Batched agents handle K rows per trace, causing the Engine to return K
identical summaries with different `row_index` values
- Added `dedupe_summaries()` in the MCP layer that collapses these into
one entry per unique text with a `row_indices` list
- Applied in both `_fetch_summaries` (tools.py) and
`_fetch_summaries_rest` (routes.py), covering all consumers:
`futuresearch_progress`, `futuresearch_poll`, and the widget HTTP
polling endpoint
## Test plan
- [x] `uv run pytest tests/ -x` — 351 passed
- [ ] Run a rank task with 5+ rows, verify progress summaries show
`[Rows 0, 1, 2]` grouping instead of 3 identical lines
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sourced from commit f27dd37c9dc9084b0ab51e336de7486b72d7223f
0 commit comments