Skip to content

A programming framework for agentic AI

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

afourney243c0957963b
diff --git a/python/packages/agbench/src/agbench/run_cmd.py b/python/packages/agbench/src/agbench/run_cmd.py
index cb753ae72..323d61990 100644
--- a/python/packages/agbench/src/agbench/run_cmd.py
+++ b/python/packages/agbench/src/agbench/run_cmd.py
@@ -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