You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'AgentCard.supports_authenticated_extended_card is True, but no extended_agent_card was provided. The /agent/authenticatedExtendedCard endpoint will return 404.'
f"Please use '{AGENT_CARD_WELL_KNOWN_PATH}' instead. This endpoint will be removed in a future version."
469
+
)
470
+
471
+
card_to_serve=self.agent_card
472
+
ifself.card_modifier:
473
+
card_to_serve=self.card_modifier(card_to_serve)
474
+
453
475
returnJSONResponse(
454
-
self.agent_card.model_dump(
476
+
card_to_serve.model_dump(
455
477
exclude_none=True,
456
478
by_alias=True,
457
479
)
458
480
)
459
481
460
-
asyncdefhandle_deprecated_agent_card_path(
461
-
self, request: Request
462
-
) ->JSONResponse:
463
-
"""Handles GET requests for the deprecated agent card endpoint."""
464
-
logger.warning(
465
-
f"Deprecated agent card endpoint '{PREV_AGENT_CARD_WELL_KNOWN_PATH}' accessed. Please use '{AGENT_CARD_WELL_KNOWN_PATH}' instead. This endpoint will be removed in a future version."
0 commit comments