Skip to content

The quickstart tutorial has an error in the __init__.py file documentation. #41

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

Open
seanmwalker opened this issue Apr 11, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@seanmwalker
Copy link

Describe the bug

When following the quickstart tutorial, there is a bug in the init.py where the variable for 'agent' needs to be 'root_agent' to match the agent.py file.

This has been noted in the adk-python issues, though it is actually an issue in the documentation.

google/adk-python#73

To Reproduce

Steps to reproduce the behavior:

  1. Follow the tutorial, and try to run the application.
  2. Note the stack trace when you try to ask the chat bot anything.
  3. See error "AttributeError: module 'multi_tool_agent' has no attribute 'agent'" in the console output.

Expected behavior

With the correct variable name, the agent will respond appropriately.

Screenshots

Image

If applicable, add screenshots to help explain your problem.

Versions

  • OS: Windows
  • ADK version: 0.1.0
  • Python version: 3.12.3

Additional context

N/A

@seanmwalker
Copy link
Author

#42 Should help with this.

@seanmwalker seanmwalker changed the title The quickstart tutorial has an error in the __init__.py file. The quickstart tutorial has an error in the __init__.py file documentation. Apr 11, 2025
@koverholt koverholt added the bug Something isn't working label Apr 15, 2025
@AshleyHenry15
Copy link
Contributor

@koverholt - will this require a documentation change or should will the docs "work as expected" once the bug is resolved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants