mirror of
https://github.com/microsoft/autogen.git
synced 2025-12-28 07:29:54 +00:00
Updated the root path discovery in agbench to reflect latest folder structure. (#433)
This commit is contained in:
parent
d2c8b7a531
commit
243c095796
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user