Skip to content

Commit 538cc42

Browse files
committed
fix: correct route variable names from *_url to *_path
Signed-off-by: Shingo OKAWA <[email protected]>
1 parent e2d1923 commit 538cc42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/a2a/server/apps/starlette_app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -683,13 +683,13 @@ def routes(
683683
"""
684684
return [
685685
Route(
686-
rpc_url,
686+
rpc_path,
687687
self._handle_requests,
688688
methods=['POST'],
689689
name='a2a_handler',
690690
),
691691
Route(
692-
agent_card_url,
692+
agent_card_path,
693693
self._handle_get_agent_card,
694694
methods=['GET'],
695695
name='agent_card',

0 commit comments

Comments
 (0)