adk-python
adk-python copied to clipboard
Agent-as-a-tool code example is wrong
https://google.github.io/adk-docs/tools/function-tools
In the doc, the agent-as-a-tool code example is wrong.
I guess we should pass root_agent to Runner, right? otherwise you just run the summary_agent directly.
runner = Runner(agent=root_agent, app_name=APP_NAME, session_service=session_service)
Hi @hkbb2014 fix is already merged https://github.com/google/adk-docs/pull/93
thanks @AlexRAV