Agent Zero AI framework
a2a polishing
frdel9c6da37f8d91
diff --git a/python/helpers/fasta2a_client.py b/python/helpers/fasta2a_client.pyindex 94f511d4c..a02d22fd1 100644--- a/python/helpers/fasta2a_client.py+++ b/python/helpers/fasta2a_client.py@@ -54,8 +54,8 @@ class AgentConnection:response.raise_for_status()self._agent_card = response.json()_PRINTER.print(f"Retrieved agent card from {self.agent_url}")- _PRINTER.print(f"Agent: {self._agent_card.get('name', 'Unknown')}")- _PRINTER.print(f"Description: {self._agent_card.get('description', 'No description')}")+ _PRINTER.print(f"Agent: {self._agent_card.get('name', 'Unknown')}") # type: ignore+ _PRINTER.print(f"Description: {self._agent_card.get('description', 'No description')}") # type: ignoreexcept Exception as e:# Fallback: if URL contains '/a2a', try root path without itif "/a2a" in self.agent_url:diff --git a/run_ui.py b/run_ui.pyindex 1818da5f1..5acfb360b 100644--- a/run_ui.py+++ b/run_ui.py@@ -223,7 +223,6 @@ def run():app = DispatcherMiddleware(webapp, middleware_routes) # type: ignorePrintStyle().debug(f"Starting server at http://{host}:{port} ...")- PrintStyle().debug("FastA2A mounted at: /a2a")server = make_server(host=host,