refactor: remove default enabled flag from PlanningConfig in Agent class

This commit is contained in:
lorenzejay
2026-02-03 08:01:27 -08:00
parent f2016f8979
commit 83f38184ff
2 changed files with 0 additions and 2 deletions

View File

@@ -304,7 +304,6 @@ class Agent(BaseAgent):
stacklevel=2,
)
self.planning_config = PlanningConfig(
enabled=True,
max_attempts=self.max_reasoning_attempts,
)

View File

@@ -133,7 +133,6 @@ class AgentReasoning:
return self.agent.planning_config
# Fallback for backward compatibility
return PlanningConfig(
enabled=True,
max_attempts=getattr(self.agent, "max_reasoning_attempts", None),
)