a2a polishing
frdel committed
Jul 31, 2025 at 21:49 UTC
9c6da37f8d913e5a6a30fa873f2e12a78dbf3f99
2 files changed
+2
-3
python/helpers/fasta2a_client.py
+2
-2
@@ -54,8 +54,8 @@ class AgentConnection:
54
response.raise_for_status()
55
self._agent_card = response.json()
56
_PRINTER.print(f"Retrieved agent card from {self.agent_url}")
57
- _PRINTER.print(f"Agent: {self._agent_card.get('name', 'Unknown')}")
58
- _PRINTER.print(f"Description: {self._agent_card.get('description', 'No description')}")
57
+ _PRINTER.print(f"Agent: {self._agent_card.get('name', 'Unknown')}") # type: ignore
58
+ _PRINTER.print(f"Description: {self._agent_card.get('description', 'No description')}") # type: ignore
59
except Exception as e:
60
# Fallback: if URL contains '/a2a', try root path without it
61
if "/a2a" in self.agent_url:
run_ui.py
-1
@@ -223,7 +223,6 @@ def run():
223
app = DispatcherMiddleware(webapp, middleware_routes) # type: ignore
224
225
PrintStyle().debug(f"Starting server at http://{host}:{port} ...")
226
- PrintStyle().debug("FastA2A mounted at: /a2a")
226
227
server = make_server(
228
host=host,