Problem
When using the built in ADK web UI and a using a tool which requires confirmation (https://google.github.io/adk-docs/tools-custom/confirmation/), the component makes a request which sends function_response in snake_case https://github.com/google/adk-web/blob/f3d8b4173aa89ea6189cdf30d3f7b0ee7b0e88a5/src/app/core/services/pending-event.service.ts#L35C8-L35C25
This works for adk-python but when using adk-java, the server deserialises the payload to GenAI types and expects json attributes in camel case https://github.com/google/adk-java/blob/6fa34397b73a363271d11feedfe31b9fdb45f640/dev/src/main/java/com/google/adk/web/dto/AgentRunRequest.java#L39, thus the confirmation flow is unable to continue.
Workaround
Using the remote confirmation request as per https://google.github.io/adk-docs/tools-custom/confirmation/.
Problem
When using the built in ADK web UI and a using a tool which requires confirmation (https://google.github.io/adk-docs/tools-custom/confirmation/), the component makes a request which sends function_response in snake_case https://github.com/google/adk-web/blob/f3d8b4173aa89ea6189cdf30d3f7b0ee7b0e88a5/src/app/core/services/pending-event.service.ts#L35C8-L35C25
This works for adk-python but when using adk-java, the server deserialises the payload to GenAI types and expects json attributes in camel case https://github.com/google/adk-java/blob/6fa34397b73a363271d11feedfe31b9fdb45f640/dev/src/main/java/com/google/adk/web/dto/AgentRunRequest.java#L39, thus the confirmation flow is unable to continue.
Workaround
Using the remote confirmation request as per https://google.github.io/adk-docs/tools-custom/confirmation/.