From e3297ff9f6c009a8849dea462487f9f9a74336bc Mon Sep 17 00:00:00 2001 From: John CSA <103165870+jluocsa@users.noreply.github.com> Date: Sat, 30 May 2026 20:02:14 -0700 Subject: [PATCH] docs: add missing space in MCP params docstrings The class docstrings for MCPServerSseParams and MCPServerStreamableHttpParams read "Mirrors the params in`mcp...`", with no space before the backtick. Add the space so the inline code reference renders correctly. --- src/agents/mcp/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/agents/mcp/server.py b/src/agents/mcp/server.py index 8d3bdd752a..7ce6bbb15b 100644 --- a/src/agents/mcp/server.py +++ b/src/agents/mcp/server.py @@ -1183,7 +1183,7 @@ def name(self) -> str: class MCPServerSseParams(TypedDict): - """Mirrors the params in`mcp.client.sse.sse_client`.""" + """Mirrors the params in `mcp.client.sse.sse_client`.""" url: str """The URL of the server.""" @@ -1309,7 +1309,7 @@ def name(self) -> str: class MCPServerStreamableHttpParams(TypedDict): - """Mirrors the params in`mcp.client.streamable_http.streamablehttp_client`.""" + """Mirrors the params in `mcp.client.streamable_http.streamablehttp_client`.""" url: str """The URL of the server."""