When I use call_tool in ClientSession to execute a tool function in a MCP server, it will be holding when there are multi threads or processes in the tool function, such as the Dataset map with num_proc > 1. How can I deal with these cases?
Reactions are currently unavailable
When I use call_tool in ClientSession to execute a tool function in a MCP server, it will be holding when there are multi threads or processes in the tool function, such as the Dataset map with num_proc > 1. How can I deal with these cases?