Skip to content

fix(acp): drain turn updates before completion#896

Open
wgqqqqq wants to merge 1 commit into
GCWing:mainfrom
wgqqqqq:fix/acp-drain-turn-updates
Open

fix(acp): drain turn updates before completion#896
wgqqqqq wants to merge 1 commit into
GCWing:mainfrom
wgqqqqq:fix/acp-drain-turn-updates

Conversation

@wgqqqqq
Copy link
Copy Markdown
Collaborator

@wgqqqqq wgqqqqq commented May 26, 2026

Summary

  • Drain pending ACP session updates after StopReason before emitting turn completion
  • Replace non-streaming ACP read_to_string usage with local turn reading that drains tail text updates
  • Preserve context usage and tool tracking while draining tail updates

Testing

  • cargo fmt -p bitfun-acp
  • cargo check -p bitfun-acp
  • cargo test -p bitfun-acp

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.

1 participant