We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d209c1c commit 4287a45Copy full SHA for 4287a45
src/agents/mcp/server.py
@@ -64,6 +64,8 @@ def __init__(self, cache_tools_list: bool, client_session_timeout_seconds: float
64
by calling `invalidate_tools_cache()`. You should set this to `True` if you know the
65
server will not change its tools list, because it can drastically improve latency
66
(by avoiding a round-trip to the server every time).
67
+
68
+ client_session_timeout_seconds: the read timeout passed to the MCP ClientSession.
69
"""
70
self.session: ClientSession | None = None
71
self.exit_stack: AsyncExitStack = AsyncExitStack()
0 commit comments