Commit 6b14f88
feat: Refactor and Rename BigQuery Agent Analytics Plugin
This change updates the `BigQueryAgentAnalyticsPlugin` (formerly in `bigquery_logging_plugin.py`) to perform BigQuery writes asynchronously in background tasks, preventing blocking of the main agent execution flow. Initialization of BigQuery clients and table creation is also made asynchronous. The content logged in various callbacks has been streamlined and simplified. The plugin file has been renamed to `bigquery_agent_analytics_plugin.py` to match the class name.
PiperOrigin-RevId: 8296032601 parent 42d4c4e commit 6b14f88
2 files changed
Lines changed: 452 additions & 451 deletions
File tree
- src/google/adk/plugins
- tests/unittests/plugins
0 commit comments