mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
fix: make the BigQuery analytics plugin work with agents that don't have instructions such as the LoopAgent
PiperOrigin-RevId: 852382657
This commit is contained in:
committed by
Copybara-Service
parent
e32f017979
commit
8bed01cbdc
@@ -1736,7 +1736,9 @@ class BigQueryAgentAnalyticsPlugin(BasePlugin):
|
||||
TraceManager.init_trace(callback_context)
|
||||
TraceManager.push_span(callback_context)
|
||||
await self._log_event(
|
||||
"AGENT_STARTING", callback_context, raw_content=agent.instruction
|
||||
"AGENT_STARTING",
|
||||
callback_context,
|
||||
raw_content=getattr(agent, "instruction", ""),
|
||||
)
|
||||
|
||||
async def after_agent_callback(
|
||||
|
||||
Reference in New Issue
Block a user