File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ async def get_agent_card(
5353 Args:
5454 relative_card_path: Optional path to the agent card endpoint,
5555 relative to the base URL. If None, uses the default public
56- agent card path.
56+ agent card path. Use `'/'` for an empty path.
5757 http_kwargs: Optional dictionary of keyword arguments to pass to the
5858 underlying httpx.get request.
5959
@@ -65,7 +65,7 @@ async def get_agent_card(
6565 A2AClientJSONError: If the response body cannot be decoded as JSON
6666 or validated against the AgentCard schema.
6767 """
68- if relative_card_path is None :
68+ if not relative_card_path :
6969 # Use the default public agent card path configured during initialization
7070 path_segment = self .agent_card_path
7171 else :
You can’t perform that action at this time.
0 commit comments