Skip to content

Commit 08cf5dd

Browse files
authored
Fix units of sse_read_timeout timedelta (#1843)
1 parent 1e22652 commit 08cf5dd

File tree

1 file changed

+1
-1
lines changed
  • pydantic_ai_slim/pydantic_ai

1 file changed

+1
-1
lines changed

pydantic_ai_slim/pydantic_ai/mcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ async def client_streams(
373373
url=self.url,
374374
headers=self.headers,
375375
timeout=timedelta(seconds=self.timeout),
376-
sse_read_timeout=timedelta(self.sse_read_timeout),
376+
sse_read_timeout=timedelta(seconds=self.sse_read_timeout),
377377
) as (read_stream, write_stream, _):
378378
yield read_stream, write_stream
379379

0 commit comments

Comments
 (0)