mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 09:08:31 +00:00
- 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>
6.7 KiB
6.7 KiB