mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
feat: change default BigQuery table ID and update docstring
The default table ID for the BigQueryAgentAnalyticsPlugin is changed from "agent_events_v2" to "agent_events". The class docstring is also updated to remove the "v2.0" reference. Co-authored-by: Haiyuan Cao <haiyuan@google.com> PiperOrigin-RevId: 873485931
This commit is contained in:
committed by
Copybara-Service
parent
223d9a7ff5
commit
7557a92939
@@ -470,7 +470,7 @@ class BigQueryLoggerConfig:
|
||||
event_allowlist: list[str] | None = None
|
||||
event_denylist: list[str] | None = None
|
||||
max_content_length: int = 500 * 1024 # Defaults to 500KB per text block
|
||||
table_id: str = "agent_events_v2"
|
||||
table_id: str = "agent_events"
|
||||
|
||||
# V2 Configuration
|
||||
clustering_fields: list[str] = field(
|
||||
@@ -1609,7 +1609,7 @@ class EventData:
|
||||
|
||||
|
||||
class BigQueryAgentAnalyticsPlugin(BasePlugin):
|
||||
"""BigQuery Agent Analytics Plugin (v2.0 using Write API).
|
||||
"""BigQuery Agent Analytics Plugin using Write API.
|
||||
|
||||
Logs agent events (LLM requests, tool calls, etc.) to BigQuery for analytics.
|
||||
Uses the BigQuery Write API for efficient, asynchronous, and reliable logging.
|
||||
|
||||
Reference in New Issue
Block a user