mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-28 02:10:38 +02:00
Ensure multi-client configurations use new ProxyClient (#1045)
* Validate elicitation responses are dicts * Ensure advanced MCP features are forwarded through proxy * Use proxy client in tests
This commit is contained in:
parent
dba9f2c81f
commit
ef742d9400
8 changed files with 145 additions and 29 deletions
|
|
@ -725,7 +725,7 @@ class TestProxy:
|
|||
def proxy_server(self, mcp_server: FastMCP) -> FastMCP:
|
||||
from fastmcp.client.transports import FastMCPTransport
|
||||
|
||||
proxy = FastMCP.as_proxy(Client(transport=FastMCPTransport(mcp_server)))
|
||||
proxy = FastMCP.as_proxy(FastMCPTransport(mcp_server))
|
||||
return proxy
|
||||
|
||||
async def test_transform_proxy(self, proxy_server: FastMCP):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue