Skip to content

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

@seanmwalker

Description

@seanmwalker

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions