mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-03 06:08:15 +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>