Commit 25482b6
committed
agent: rename streamablehttp_client -> streamable_http_client
The MCP Python SDK renamed the import from `streamablehttp_client` to
`streamable_http_client` (PR modelcontextprotocol/python-sdk#1177).
The old name is deprecated and has been removed from current main.
Pyright/Windsurf flags it as deprecated.
Signature is backward-compatible: `url` remains the only required arg
and the context manager still yields a 3-tuple, so the destructuring
`async with streamable_http_client(url) as (read, write, _):` still
works without further changes.1 parent 23fea4f commit 25482b6
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments