File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/a2a/server/apps/jsonrpc Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,8 @@ def __init__(
5353 def routes (
5454 self ,
5555 agent_card_url : str = '/.well-known/agent.json' ,
56- extended_agent_card_url : str = '/agent/authenticatedExtendedCard' ,
5756 rpc_url : str = '/' ,
57+ extended_agent_card_url : str = '/agent/authenticatedExtendedCard' ,
5858 ) -> list [Route ]:
5959 """Returns the Starlette Routes for handling A2A requests.
6060
@@ -111,7 +111,9 @@ def build(
111111 A configured Starlette application instance.
112112 """
113113 app_routes = self .routes (
114- agent_card_url , extended_agent_card_url , rpc_url
114+ agent_card_url = agent_card_url ,
115+ rpc_url = rpc_url ,
116+ extended_agent_card_url = extended_agent_card_url ,
115117 )
116118 if 'routes' in kwargs :
117119 kwargs ['routes' ].extend (app_routes )
You can’t perform that action at this time.
0 commit comments