From ac3d87dfa31e7a3edfa41b1a02c57fc8124af7f6 Mon Sep 17 00:00:00 2001 From: Clark Ngo Date: Tue, 2 Dec 2025 08:59:14 -0800 Subject: [PATCH 1/3] fix(a2a_gui): add missing fastapi and uvicorn dependencies The server failed to start with a "ModuleNotFoundError" because FastAPI and Uvicorn were not listed in the project dependencies. This commit adds `fastapi` and `uvicorn` to ensure the application starts correctly. Fixes #417 --- samples/python/hosts/a2a_gui/pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/python/hosts/a2a_gui/pyproject.toml b/samples/python/hosts/a2a_gui/pyproject.toml index 866f354ed..a0579d239 100644 --- a/samples/python/hosts/a2a_gui/pyproject.toml +++ b/samples/python/hosts/a2a_gui/pyproject.toml @@ -16,6 +16,7 @@ dependencies = [ "pyjwt>=2.10.1", "typing-extensions>=4.12.2", "uvicorn>=0.34.0", + "fastapi>=0.123.4", "Pillow>=10.0.0", ] From 58695c2d8a95cf1513160f7ab87b0cd4b182cfae Mon Sep 17 00:00:00 2001 From: Clark Ngo <30854108+clarkngo@users.noreply.github.com> Date: Tue, 2 Dec 2025 09:21:46 -0800 Subject: [PATCH 2/3] Update samples/python/hosts/a2a_gui/pyproject.toml Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- samples/python/hosts/a2a_gui/pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/python/hosts/a2a_gui/pyproject.toml b/samples/python/hosts/a2a_gui/pyproject.toml index a0579d239..d1f65bd1e 100644 --- a/samples/python/hosts/a2a_gui/pyproject.toml +++ b/samples/python/hosts/a2a_gui/pyproject.toml @@ -13,11 +13,11 @@ dependencies = [ "httpx-sse>=0.4.0", "jwcrypto>=1.5.6", "pydantic>=2.10.6", + "fastapi>=0.123.4", + "Pillow>=10.0.0", "pyjwt>=2.10.1", "typing-extensions>=4.12.2", "uvicorn>=0.34.0", - "fastapi>=0.123.4", - "Pillow>=10.0.0", ] [tool.hatch.build.targets.wheel] From b9948c4c43da7907870f68ebd68770eaae4ac888 Mon Sep 17 00:00:00 2001 From: Clark Ngo Date: Tue, 2 Dec 2025 09:29:22 -0800 Subject: [PATCH 3/3] remove nbsp --- samples/python/hosts/a2a_gui/pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/python/hosts/a2a_gui/pyproject.toml b/samples/python/hosts/a2a_gui/pyproject.toml index d1f65bd1e..a0579d239 100644 --- a/samples/python/hosts/a2a_gui/pyproject.toml +++ b/samples/python/hosts/a2a_gui/pyproject.toml @@ -13,11 +13,11 @@ dependencies = [ "httpx-sse>=0.4.0", "jwcrypto>=1.5.6", "pydantic>=2.10.6", - "fastapi>=0.123.4", - "Pillow>=10.0.0", "pyjwt>=2.10.1", "typing-extensions>=4.12.2", "uvicorn>=0.34.0", + "fastapi>=0.123.4", + "Pillow>=10.0.0", ] [tool.hatch.build.targets.wheel]