Skip to content

adk-sql-agent instantiates the root_agent with incorrect name #477

Description

@stevewalker-de

https://github.com/GoogleCloudPlatform/opentelemetry-operations-python/blob/main/samples/adk-sql-agent/sql_agent/agent.py

see 'weather_time_agent', below. should be 'adk-sql-agent'

this results in slightly confusing logging messages like "[weather_time_agent]: Now that the database is created, I will create the pets table. I will include columns for id, name, breed, and age."

root_agent = Agent(
name="weather_time_agent",
model="gemini-2.0-flash",
description=DESCRIPTION,
instruction=SYSTEM_PROMPT,
tools=[run_sql_tool, create_database_tool],
)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions