From f036142dd82c1ef0e2a6aa30618ce06413559d9a Mon Sep 17 00:00:00 2001 From: Krzysztof Dziedzic Date: Tue, 9 Jun 2026 08:57:35 +0000 Subject: [PATCH] ci: fix agent card routes in itk agent --- itk/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/itk/main.py b/itk/main.py index 445dc4b06..b27cd3c71 100644 --- a/itk/main.py +++ b/itk/main.py @@ -544,9 +544,10 @@ async def main_async(http_port: int, grpc_port: int) -> None: app = FastAPI() app.mount( '/jsonrpc', - FastAPI(routes=jsonrpc_routes + agent_card_routes), + FastAPI(routes=jsonrpc_routes), ) - app.mount('/rest', FastAPI(routes=rest_routes + agent_card_routes)) + app.mount('/rest', FastAPI(routes=rest_routes)) + app.routes.extend(agent_card_routes) server = grpc.aio.server()