From f0140913cfdc446d1b1c38bcec9f9930d9542135 Mon Sep 17 00:00:00 2001 From: RUI-LONG Date: Fri, 3 Jul 2026 18:04:07 +0800 Subject: [PATCH] fix(cli): resolve UnboundLocalError for `json` when serving A2A agents --- src/google/adk/cli/fast_api.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/google/adk/cli/fast_api.py b/src/google/adk/cli/fast_api.py index a6e7d9f62c..2bab01a202 100644 --- a/src/google/adk/cli/fast_api.py +++ b/src/google/adk/cli/fast_api.py @@ -756,7 +756,6 @@ async def _get_a2a_runner_async() -> Runner: ) import inspect - import json from google.adk.agents import Agent import google.auth