Skip to content

Commit 93575b6

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

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
@@ -726,13 +726,13 @@ def routes(
726726
"""
727727
return [
728728
Route(
729-
rpc_url,
729+
rpc_path,
730730
self._handle_requests,
731731
methods=['POST'],
732732
name='a2a_handler',
733733
),
734734
Route(
735-
agent_card_url,
735+
agent_card_path,
736736
self._handle_get_agent_card,
737737
methods=['GET'],
738738
name='agent_card',

0 commit comments

Comments
 (0)