Skip to content

Commit d209c1c

Browse files
authored
Update server.py
1 parent c6de1b2 commit d209c1c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/agents/mcp/server.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ def __init__(
209209
improve latency (by avoiding a round-trip to the server every time).
210210
name: A readable name for the server. If not provided, we'll create one from the
211211
command.
212+
client_session_timeout_seconds: the read timeout passed to the MCP ClientSession.
212213
"""
213214
super().__init__(cache_tools_list, client_session_timeout_seconds)
214215

@@ -285,6 +286,8 @@ def __init__(
285286
286287
name: A readable name for the server. If not provided, we'll create one from the
287288
URL.
289+
290+
client_session_timeout_seconds: the read timeout passed to the MCP ClientSession.
288291
"""
289292
super().__init__(cache_tools_list, client_session_timeout_seconds)
290293

0 commit comments

Comments
 (0)