Skip to content

Commit 1fa0ec7

Browse files
committed
Update AgentCard path to AGENT_CARD_WELL_KNOWN_PATH
1 parent f2c4085 commit 1fa0ec7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/a2a/server/apps/rest/fastapi_app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
)
1313
from a2a.server.request_handlers.request_handler import RequestHandler
1414
from a2a.types import AgentCard
15+
from a2a.utils.constants import AGENT_CARD_WELL_KNOWN_PATH
1516

1617

1718
logger = logging.getLogger(__name__)
@@ -51,7 +52,7 @@ def __init__(
5152

5253
def build(
5354
self,
54-
agent_card_url: str = '/.well-known/agent.json',
55+
agent_card_url: str = AGENT_CARD_WELL_KNOWN_PATH,
5556
rpc_url: str = '',
5657
**kwargs: Any,
5758
) -> FastAPI:

0 commit comments

Comments
 (0)