Updated the root path discovery in agbench to reflect latest folder structure. (#433)

This commit is contained in:
afourney 2024-08-29 15:07:17 -07:00 committed by GitHub
parent d2c8b7a531
commit 243c095796

View File

@ -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