mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
- Remove all patch() calls for module-local names (streamablehttp_client, ClientSession) - Rely solely on sys.modules stub fixture for mcp module imports - Patch ClientSession.__init__ directly to configure mock behavior - This fixes AttributeError issues where patch() tried to access non-existent module attributes Co-Authored-By: João <joao@crewai.com>