mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-02 13:48:09 +00:00
Addresses Cursor Bugbot feedback: the function-calling path in ato_json was still calling _create_instructor().to_json() synchronously, blocking the event loop. Now wrapped in asyncio.to_thread() to offload the blocking call to a separate thread. Co-Authored-By: João <joao@crewai.com>