Files
crewAI/lib
Devin AI 415b894405 fix: wrap sync instructor.to_json() in asyncio.to_thread for ato_json
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>
2026-04-02 12:54:20 +00:00
..