Skip to content

Fix/reasoning content stream accumulation#303

Merged
duguwanglong merged 2 commits into
devfrom
fix/reasoning-content-stream-accumulation
May 22, 2026
Merged

Fix/reasoning content stream accumulation#303
duguwanglong merged 2 commits into
devfrom
fix/reasoning-content-stream-accumulation

Conversation

@xiami762
Copy link
Copy Markdown
Contributor

Fix reasoning content stream accumulation

xiami762 and others added 2 commits May 21, 2026 22:26
Accumulate streamed reasoning metadata so provider-facing reasoning_content keeps the full replay payload instead of the last chunk only.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep the loop guard focused on repeated identical tool calls so sessions can continue when the same tool is reused with different arguments.

Co-authored-by: Cursor <cursoragent@cursor.com>
@xiami762 xiami762 requested a review from duguwanglong May 22, 2026 01:33
@duguwanglong duguwanglong merged commit 92869cd into dev May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants