GoogleCloudPlatform / GoogleCloudPlatform/opentelemetry-operations-python

adk-sql-agent instantiates the root_agent with incorrect name

Open
#477 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.