Commit 54207a2
authored
test(mcp): Use
Stop mocking transport layer of the `mcp` package in tests.
Convert functions annotated with `@mcp.call_tool`, and analogous resource and prompt decorators, to async if, and only if, an exception is raised when going through the transport layer.TestClient for Streamable HTTP (#5383)1 parent 0c38bd5 commit 54207a2
1 file changed
+244
-113
lines changed
0 commit comments