Skip to content

Commit 6f38814

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

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
@@ -714,13 +714,13 @@ def routes(
714714
"""
715715
return [
716716
Route(
717-
rpc_url,
717+
rpc_path,
718718
self._handle_requests,
719719
methods=['POST'],
720720
name='a2a_handler',
721721
),
722722
Route(
723-
agent_card_url,
723+
agent_card_path,
724724
self._handle_get_agent_card,
725725
methods=['GET'],
726726
name='agent_card',

0 commit comments

Comments
 (0)