fix(live): keep streaming tool yields from completing turns#6009
fix(live): keep streaming tool yields from completing turns#6009he-yufeng wants to merge 1 commit into
Conversation
|
Response from ADK Triaging Agent Hello @he-yufeng, thank you for creating this PR! This PR is a bug fix. While you have included a testing section and associated it with an issue, could you please also provide logs or a screenshot/recording demonstrating the fix in action (i.e. showing that streaming tool yields do not complete turns)? This will help reviewers to understand and review your PR more efficiently. Please refer to our Contribution Guidelines for more information. Thanks! |
|
I have completed a thorough, read-only analysis of Pull Request #6009. I have verified the mandatory compliance gate: Google's Contributor License Agreement (CLA) is successfully signed and verified (status I generated a premium PR Analysis Report matching your guidelines. The report has been saved to the workspace brain directory: Key Highlights & Recommendation:
Summary of Completed Work
|
Summary
Fixes #5947.
This threads a
turn_completeflag through the live request path so streaming tool updates can be sent as intermediate model input instead of being treated as completed user turns.The change keeps the existing default behavior for normal
send_content()calls:LiveRequestQueue.send_content()still defaults toturn_complete=Trueturn_complete=False_send_to_model()forwards the flag to the live connectionTests