Fix quadratic cost when accumulating streamed reply text
Cluster 92163 · agent. Data as of
Nothing open on GitHub. Fix merged in #101707 on 2 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #101707. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address a performance problem where streamed assistant reply text was being rebuilt from scratch on every incoming delta, causing the total work per turn to scale with the square of the reply length. The changes propose accumulating text as parts instead of concatenating repeatedly.
Open issues0
Open PRs0
Fixes on record
-
#101707 perf(agent): accumulate streamed reply text as parts instead of rebuilding per delta (salvage #92166)
files:
run_agent.py,tests/run_agent/test_streamed_text_accumulation.py
1 PR closed without merging
From the close comments: merged via another change 1
-
#92166 perf(agent): stop rebuilding the streamed reply text on every delta · merged via another change →
7caee28,#101707
Closed issues · 1
- Closed#92163[Bug]: streamed assistant text is rebuilt on every delta, making a turn cost the square of the reply length
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- agent
- Merged PRs
- #101707
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 2 Sep 2026