Skip to content

Commit

Permalink
Updated the root path discovery in agbench to reflect latest folder s…
Browse files Browse the repository at this point in the history
…tructure. (#433)
  • Loading branch information
afourney authored Aug 29, 2024
1 parent d2c8b7a commit 243c095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/packages/agbench/src/agbench/run_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ def find_agnext_repo(path: str) -> Optional[str]:
path = os.path.dirname(path)

while True:
test_path = os.path.join(path, "python", "src", "autogen_core") # We found autogen_core
test_path = os.path.join(path, "python", "packages", "autogen-core") # We found autogen_core
if os.path.isdir(test_path):
return path

Expand Down

0 comments on commit 243c095

Please sign in to comment.