File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
src/a2a/server/apps/jsonrpc Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ def add_routes_to_app(
6464
6565 if agent_card_url == AGENT_CARD_WELL_KNOWN_PATH :
6666 # For backward compatibility, serve the agent card at the deprecated path as well.
67+ # TODO: remove in a future release
6768 app .get (PREV_AGENT_CARD_WELL_KNOWN_PATH )(
6869 self ._handle_get_agent_card
6970 )
Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ def __init__( # noqa: PLR0913
160160 agent_card = agent_card ,
161161 request_handler = http_handler ,
162162 extended_agent_card = extended_agent_card ,
163+ extended_card_modifier = extended_card_modifier ,
163164 )
164165 if (
165166 self .agent_card .supports_authenticated_extended_card
Original file line number Diff line number Diff line change @@ -59,6 +59,8 @@ def routes(
5959 ]
6060
6161 if agent_card_url == AGENT_CARD_WELL_KNOWN_PATH :
62+ # For backward compatibility, serve the agent card at the deprecated path as well.
63+ # TODO: remove in a future release
6264 app_routes .append (
6365 Route (
6466 PREV_AGENT_CARD_WELL_KNOWN_PATH ,
You can’t perform that action at this time.
0 commit comments