Fix ACP permission request with new tool calls (#37182)

Release Notes:

- Gemini integration: Fixed a bug with permission requests when
`always_allow_tool_calls` is enabled
a790e514afAgus Zubiaga committed on 8/29/2025, 5:58:54 PM· committed by GitHubparent92f739d
6 files changedLine totals unavailable