Skip to content

Commit

Permalink
Merge pull request #355 from ag2ai/reasoning-fix
Browse files Browse the repository at this point in the history
add method property to ReasoningAgent
  • Loading branch information
qingyun-wu authored Jan 5, 2025
2 parents 5d1f39b + 4bd1419 commit 1623ecb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autogen/agentchat/contrib/reasoning_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,3 +699,7 @@ def _expand(self, node: ThinkNode) -> list:

def _is_terminal(self, node):
return node.depth >= self._max_depth or "TERMINATE" in node.content

@property
def method(self):
return self._method

0 comments on commit 1623ecb

Please sign in to comment.