Files
crewAI/tests/tools/test_structured_tool.py
Devin AI 89fcd2a5b4 Fix CrewStructuredTool invoke() method bugs
- Fix RuntimeError from asyncio.run() in nested event loops
- Fix double execution of sync functions
- Fix inconsistent coroutine handling
- Add comprehensive tests for all scenarios
- Properly detect event loop context to avoid asyncio.run() conflicts

Fixes #3447

Co-Authored-By: João <joao@crewai.com>
2025-09-04 08:43:43 +00:00

9.9 KiB