mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-10-27 21:50:36 +00:00
* fix(subagents): leave full results out of the polled batch item list The item list endpoint returns only previews, but list_items selected whole rows, so every page loaded and decoded each item's full report, evidence JSON and prompt before discarding them. The workspace polls this list every 2 seconds while a batch runs; with the default max_result_chars a 100-item page held about 34 MB and blocked the event loop for about 70 ms (170 MB and 300 ms at limit=500). Defer those columns unless the caller asks for them, with raiseload so an accidental read fails loudly instead of lazy-loading. A 100-item page now peaks under 1 MB; responses are unchanged. * test(subagents): pin the item list route to compact columns Drive list_batch_items against a real SQLite repository so a route that starts requesting full results fails, not only a repository change. * docs(changelog): reference #6781 * test(subagents): scope the route test's seed update to its batch