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."
448
+
)
449
+
450
+
card_to_serve=self.agent_card
451
+
ifself.card_modifier:
452
+
card_to_serve=self.card_modifier(card_to_serve)
453
+
433
454
returnJSONResponse(
434
-
self.agent_card.model_dump(
455
+
card_to_serve.model_dump(
435
456
exclude_none=True,
436
457
by_alias=True,
437
458
)
438
459
)
439
460
440
-
asyncdefhandle_deprecated_agent_card_path(
441
-
self, request: Request
442
-
) ->JSONResponse:
443
-
"""Handles GET requests for the deprecated agent card endpoint."""
444
-
logger.warning(
445
-
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