We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AGENT_CARD_WELL_KNOWN_PATH
1 parent f2c4085 commit 1fa0ec7Copy full SHA for 1fa0ec7
src/a2a/server/apps/rest/fastapi_app.py
@@ -12,6 +12,7 @@
12
)
13
from a2a.server.request_handlers.request_handler import RequestHandler
14
from a2a.types import AgentCard
15
+from a2a.utils.constants import AGENT_CARD_WELL_KNOWN_PATH
16
17
18
logger = logging.getLogger(__name__)
@@ -51,7 +52,7 @@ def __init__(
51
52
53
def build(
54
self,
- agent_card_url: str = '/.well-known/agent.json',
55
+ agent_card_url: str = AGENT_CARD_WELL_KNOWN_PATH,
56
rpc_url: str = '',
57
**kwargs: Any,
58
) -> FastAPI:
0 commit comments