Skip to content

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.

increase default max inter

João Moura6823f76ff4cd
diff --git a/src/crewai/agent.py b/src/crewai/agent.py
index af7d245b9..fca8efc2f 100644
--- a/src/crewai/agent.py
+++ b/src/crewai/agent.py
@@ -104,7 +104,7 @@ class Agent(BaseAgent):
description="Keep messages under the context window size by summarizing content.",
)
max_iter: int = Field(
- default=15,
+ default=20,
description="Maximum number of iterations for an agent to execute a task before giving it's best answer",
)
max_retry_limit: int = Field(