Skip to content

[Bug]: Demo is not working #422

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
matsk-sinch opened this issue May 6, 2025 · 4 comments
Closed
1 task done

[Bug]: Demo is not working #422

matsk-sinch opened this issue May 6, 2025 · 4 comments

Comments

@matsk-sinch
Copy link

What happened?

On the Readme from https://github.com/google/A2A/tree/main/demo:

Running the examples > Step 4:
This path doesn't exist: cd ../../samples/agents/google_adk/

I tried to run with:
A2A/samples/python/agents/google_adk

And I got this error:
INFO: ::1:50143 - "POST / HTTP/1.1" 200 OK
ERROR:task_manager:An error occurred while streaming the response: Failed to parse the parameter date: str | None = None of function create_request_form for automatic function calling. Automatic function calling works best with simpler function signature schema,consider manually parse your function declaration for function create_request_form.

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ykvidie
Copy link

ykvidie commented May 7, 2025

I am struggling with this too.

@Miku-Kogane
Copy link

I added Options to the create_request_form method and modified the formula as follows.

def create_request_form(date: Optional[str] = None, amount: Optional[str] = None, purpose: Optional[str] = None) -> dict[str, Any]:

The error no longer occurs, but the UI only displays only the message "Request has been made to an agent" and the form is not displayed.
I need help.

@jonigl
Copy link

jonigl commented May 13, 2025

it seems this is the same issue happening here: #457

@jonigl
Copy link

jonigl commented May 13, 2025

Hey guys good news this seems to be fixed some hours ago by this PR: #510

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants