mirror of
https://github.com/crewAIInc/crewAI.git
synced 2025-12-16 04:18:35 +00:00
- Change fake_streamablehttp_client from async def to regular def - async with expects an object with __aenter__/__aexit__, not a coroutine - Add __path__ to make mcp modules look like packages - Add last_kwargs tracking for header assertions - Add proper assertions to verify headers are passed/not passed - This fixes TypeError: 'coroutine' object does not support async context manager protocol Co-Authored-By: João <joao@crewai.com>