Files
crewAI/tests/project_test.py
Devin AI 7c70cb493c Fix: Add connect_timeout parameter to get_mcp_tools method
- Add Optional[int] connect_timeout parameter with default value of 30 seconds
- Pass connect_timeout to MCPServerAdapter constructor to prevent timeouts
- Add comprehensive tests for timeout functionality
- Maintain backward compatibility with existing code
- Fixes issue #3326 where get_mcp_tools hits timeout with multiple MCP servers

Co-Authored-By: João <joao@crewai.com>
2025-08-15 18:38:10 +00:00

8.9 KiB