GoogleCloudPlatform / GoogleCloudPlatform/opentelemetry-operations-python
adk-sql-agent instantiates the root_agent with incorrect name
- Vorherrschende Sprache
- Python
- Sterne
- 83
- Forks
- 46
- Ø Merge
- 11 Std. 40 Min.
- Gemergte PRs (30 T.)
- 2
Beschreibung
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],
)
Beitragsleitfaden
Rechercherichtung
Beginne in samples/adk-sql-agent/sql_agent/agent.py und überprüfe die Definition von root_agent. Ändere den Agentennamen von weather_time_agent in adk-sql-agent und stelle anschließend sicher, dass die Logmeldungen des Beispiels das korrigierte Label verwenden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python, sql
- Bereich
- ai, databases
- Issue-Typ
- Bug
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- Unter einer Stunde
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 50/100