Skip to content

Commit b192c9d

Browse files
committed
refactor: Add missing parameters from JSONRPCApplication.build()
1 parent 4343be9 commit b192c9d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/a2a/server/apps/jsonrpc/jsonrpc_app.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
from a2a.utils.constants import (
4646
AGENT_CARD_WELL_KNOWN_PATH,
4747
DEFAULT_RPC_URL,
48+
EXTENDED_AGENT_CARD_PATH,
4849
)
4950
from a2a.utils.errors import MethodNotImplementedError
5051

@@ -438,13 +439,16 @@ def build(
438439
self,
439440
agent_card_url: str = AGENT_CARD_WELL_KNOWN_PATH,
440441
rpc_url: str = DEFAULT_RPC_URL,
442+
extended_agent_card_url: str = EXTENDED_AGENT_CARD_PATH,
441443
**kwargs: Any,
442444
) -> FastAPI | Starlette:
443445
"""Builds and returns the JSONRPC application instance.
444446
445447
Args:
446448
agent_card_url: The URL for the agent card endpoint.
447-
rpc_url: The URL for the A2A JSON-RPC endpoint
449+
rpc_url: The URL for the A2A JSON-RPC endpoint.
450+
extended_agent_card_url: The URL for the authenticated extended
451+
agent card endpoint.
448452
**kwargs: Additional keyword arguments to pass to the FastAPI constructor.
449453
450454
Returns:

0 commit comments

Comments
 (0)