Files
crewAI/lib/crewai/tests/agents
lorenzejay e48cf3604e refactor: implement _loop_response_model to manage response_model during tool loops
This change introduces the _loop_response_model method in BaseAgentExecutor to conditionally return the response_model based on the presence of tools. The CrewAgentExecutor and AgentExecutor classes have been updated to utilize this new method, ensuring that the response_model is not sent to the LLM during tool loops, which prevents issues with structured-output schemas. Additionally, tests have been added to verify the correct behavior of this implementation.
2026-04-24 12:20:32 -07:00
..
2026-02-05 12:49:54 -05:00
2025-10-20 14:10:19 -07:00