diff --git a/autogen/agentchat/contrib/reasoning_agent.py b/autogen/agentchat/contrib/reasoning_agent.py index 5b437310a7..c1e3391b89 100644 --- a/autogen/agentchat/contrib/reasoning_agent.py +++ b/autogen/agentchat/contrib/reasoning_agent.py @@ -67,7 +67,7 @@ def __init__(self, content: str, parent: Optional["ThinkNode"] = None) -> None: self.parent = parent self.depth = self.parent.depth + 1 if parent else 0 self.children = [] - self.visits = 0 + self.visits = 0 # TODO: remove this line if not used. if self.parent: self.parent.children.append(self)