mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-04 08:42:38 +00:00
Fixes #4389. CrewAgentExecutor.invoke() and ainvoke() now reset self.messages and self.iterations at the start of each execution, preventing state leakage when the same executor instance is reused across sequential tasks. Co-Authored-By: João <joao@crewai.com>