Skip to content

fix: Call all tools in parallel calls during partial authentication - #853

Closed
calvingiles wants to merge 14 commits into
google:mainfrom
calvingiles:fix-parallel-auth-tool-calls
Closed

calvingiles wants to merge 14 commits into
google:mainfrom
calvingiles:fix-parallel-auth-tool-calls

Conversation

@calvingiles

Copy link
Copy Markdown
Contributor

Currently if a model performs parallel tool calls and only the first is authenticated, the others will not be called. When authentication is later provided, the other tool calls will never be executed.

This fixes that by treating all calls equally rather than special casing the first call.

@hangfei
hangfei requested a review from seanzhou1023 May 30, 2025 21:02

@seanzhou1023 seanzhou1023 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the fixing :)

@seanzhou1023 seanzhou1023 added ready to pull [Status] This PR is ready to be imported back to Google and removed ready to pull [Status] This PR is ready to be imported back to Google labels May 31, 2025
copybara-service Bot pushed a commit that referenced this pull request May 31, 2025
Copybara import of the project:

--
ffd6184 by Calvin Giles <[email protected]>:

fix: Call all tools in parallel calls during partial authentication

--
c71782a by seanzhou1023 <[email protected]>:

Update auth_preprocessor.py
--
843af6b by seanzhou1023 <[email protected]>:

Update test_functions_request_euc.py
--
955e3fa by seanzhou1023 <[email protected]>:

Update test_functions_request_euc.py

COPYBARA_INTEGRATE_REVIEW=#853 from calvingiles:fix-parallel-auth-tool-calls f44671e
PiperOrigin-RevId: 765639904
@hangfei

hangfei commented May 31, 2025

Copy link
Copy Markdown
Collaborator

merged by bot in 0e72efb. Thanks for your contribution!

@hangfei hangfei closed this May 31, 2025
whhlct pushed a commit to whhlct/adk-python that referenced this pull request Jun 6, 2025
Copybara import of the project:

--
ffd6184 by Calvin Giles <[email protected]>:

fix: Call all tools in parallel calls during partial authentication

--
c71782a by seanzhou1023 <[email protected]>:

Update auth_preprocessor.py
--
843af6b by seanzhou1023 <[email protected]>:

Update test_functions_request_euc.py
--
955e3fa by seanzhou1023 <[email protected]>:

Update test_functions_request_euc.py

COPYBARA_INTEGRATE_REVIEW=google#853 from calvingiles:fix-parallel-auth-tool-calls f44671e
PiperOrigin-RevId: 765639904
coder-aditi pushed a commit to coder-aditi/adk-python that referenced this pull request Jul 2, 2025
Copybara import of the project:

--
ffd6184 by Calvin Giles <[email protected]>:

fix: Call all tools in parallel calls during partial authentication

--
c71782a by seanzhou1023 <[email protected]>:

Update auth_preprocessor.py
--
843af6b by seanzhou1023 <[email protected]>:

Update test_functions_request_euc.py
--
955e3fa by seanzhou1023 <[email protected]>:

Update test_functions_request_euc.py

COPYBARA_INTEGRATE_REVIEW=google#853 from calvingiles:fix-parallel-auth-tool-calls f44671e
PiperOrigin-RevId: 765639904
FrigaZzz pushed a commit to FrigaZzz/adk-python that referenced this pull request Aug 11, 2026
Copybara import of the project:

--
ffd6184 by Calvin Giles <[email protected]>:

fix: Call all tools in parallel calls during partial authentication

--
c71782a by seanzhou1023 <[email protected]>:

Update auth_preprocessor.py
--
843af6b by seanzhou1023 <[email protected]>:

Update test_functions_request_euc.py
--
955e3fa by seanzhou1023 <[email protected]>:

Update test_functions_request_euc.py

COPYBARA_INTEGRATE_REVIEW=google#853 from calvingiles:fix-parallel-auth-tool-calls f44671e
PiperOrigin-RevId: 765639904
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment