File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/a2a/server/apps/jsonrpc Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 4545from a2a .utils .constants import (
4646 AGENT_CARD_WELL_KNOWN_PATH ,
4747 DEFAULT_RPC_URL ,
48+ EXTENDED_AGENT_CARD_PATH ,
4849)
4950from 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:
You can’t perform that action at this time.
0 commit comments