You've already forked adk-python
mirror of
https://github.com/encounter/adk-python.git
synced 2026-03-30 10:57:20 -07:00
bcf38fa2ba
This change introduces several improvements to the BigQuery Agent Analytics Plugin: * **Fix 1 (High):** Error callbacks (`on_model_error_callback`, `on_tool_error_callback`) now emit `status="ERROR"` instead of defaulting to `"OK"`. * **Fix 2 (Medium):** Schema upgrade now detects missing sub-fields in nested RECORD columns via a new recursive helper. The version label is now stamped only after the `update_table` call succeeds, ensuring failures can be retried. * **Fix 3 (Medium):** Multi-loop `shutdown()` now drains batch processors on non-current event loops using `run_coroutine_threadsafe` before closing transports. * **Fix 4 (Medium):** Session state is truncated before logging to prevent oversized payloads. * **Fix 5 (Low):** String system prompts are now truncated during content parsing. * **Fix 6 (Low):** Removed the unused `_HITL_TOOL_NAMES` frozenset. Co-authored-by: Haiyuan Cao <haiyuan@google.com> PiperOrigin-RevId: 879147684