Skip to content

Commit 806d56d

Browse files
authored
Fix: TypeError in MCPServerSSE due to improper initialization (#2319)
1 parent 6207ac6 commit 806d56d

File tree

1 file changed

+1
-0
lines changed
  • pydantic_ai_slim/pydantic_ai

1 file changed

+1
-0
lines changed

pydantic_ai_slim/pydantic_ai/mcp.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,7 @@ def __init__(
543543
self.max_retries = max_retries
544544
self.sampling_model = sampling_model
545545
self.read_timeout = read_timeout
546+
self.__post_init__()
546547

547548
@property
548549
@abstractmethod

0 commit comments

Comments
 (0)