Files
crewAI/lib
lorenzejay fa3b1d5f64 implement dedicated background event loop for MCP operations
- Introduced a shared event loop running in a background thread to manage MCP connections efficiently.
- Updated the MCPNativeTool class to ensure all async operations are dispatched to this dedicated loop, preventing cross-loop cancel-scope issues.
- Enhanced error handling during tool execution to ensure clean disconnection and reconnection processes.
2026-03-09 14:50:36 -07:00
..