🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
adapt folders without git clone
geekan713c32311309
diff --git a/metagpt/const.py b/metagpt/const.pyindex ca9aed89d..0f51a6061 100644--- a/metagpt/const.py+++ b/metagpt/const.py@@ -13,7 +13,8 @@ def get_project_root():current_path = Path.cwd()while True:if (current_path / '.git').exists() or \- (current_path / '.project_root').exists():+ (current_path / '.project_root').exists() or \+ (current_path.name.lower() == 'metagpt'):return current_pathparent_path = current_path.parentif parent_path == current_path: