google / google/adk-web

ADK web sends confirmation response with snake_case

Open
#386 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1k
Forks
267
Avg merge
1d 12h
Merged PRs (30d)
9

Description

**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

Image

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/.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.