GoogleCloudPlatform / GoogleCloudPlatform/opentelemetry-operations-python
adk-sql-agent instantiates the root_agent with incorrect name
Open
- Dominant language
- Python
- Stars
- 83
- Forks
- 46
- Avg merge
- 11h 40m
- Merged PRs (30d)
- 2
Description
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],
)
Contributor guide
Assessment
This issue has not been assessed yet.