mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-27 15:51:33 +02:00
The request-context stash that lets proxy forwarding handlers relay server-initiated requests (list_roots/sampling/elicitation) back to the proxy's own client was only applied on the ProxyTool path. Proxied resources, templates, and prompts whose backend called a server-initiated feature would deadlock until timeout. Extract the stash into a shared helper used by all four proxy paths. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_proxy_client.py | ||
| test_proxy_server.py | ||
| test_stateful_proxy_client.py | ||