Files
crewAI/tests
Devin AI 9d16fde9bf Fix result_as_answer=True bypassing conversion
- Add ToolAnswerResult wrapper class to signal when tool results should bypass conversion
- Modify agent.execute_task to return ToolAnswerResult when result_as_answer=True
- Update task._export_output to skip conversion for ToolAnswerResult instances
- Add comprehensive tests covering the fix and edge cases
- Fixes issue #3335 where tools with result_as_answer=True still triggered LLM conversion

Co-Authored-By: João <joao@crewai.com>
2025-08-18 06:10:14 +00:00
..
2025-08-06 13:08:10 -04:00
2025-03-14 03:00:30 -03:00
2025-08-06 13:08:10 -04:00
2023-10-29 19:51:59 -03:00
2025-08-15 13:37:16 -07:00
2025-08-06 14:05:14 -07:00