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 45
45
from a2a .utils .constants import (
46
46
AGENT_CARD_WELL_KNOWN_PATH ,
47
47
DEFAULT_RPC_URL ,
48
+ EXTENDED_AGENT_CARD_PATH ,
48
49
)
49
50
from a2a .utils .errors import MethodNotImplementedError
50
51
@@ -438,13 +439,16 @@ def build(
438
439
self ,
439
440
agent_card_url : str = AGENT_CARD_WELL_KNOWN_PATH ,
440
441
rpc_url : str = DEFAULT_RPC_URL ,
442
+ extended_agent_card_url : str = EXTENDED_AGENT_CARD_PATH ,
441
443
** kwargs : Any ,
442
444
) -> FastAPI | Starlette :
443
445
"""Builds and returns the JSONRPC application instance.
444
446
445
447
Args:
446
448
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.
448
452
**kwargs: Additional keyword arguments to pass to the FastAPI constructor.
449
453
450
454
Returns:
You can’t perform that action at this time.
0 commit comments