mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-04-14 15:02:37 +00:00
_handle_agent_action can convert AgentAction to AgentFinish (when result_as_answer=True). Accessing .tool and .tool_input on AgentFinish would raise AttributeError. Now we capture the values beforehand. Co-Authored-By: João <joao@crewai.com>