🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
add PROJECT_ROOT logging info
garylin2099f0098f0ae9fe
diff --git a/metagpt/const.py b/metagpt/const.pyindex 86b2b6c87..407ce803a 100644--- a/metagpt/const.py+++ b/metagpt/const.py@@ -18,12 +18,13 @@ def get_project_root():or (current_path / ".gitignore").exists()):# use metagpt with git clone will land here+ logger.info(f"PROJECT_ROOT set to {str(current_path)}")return current_pathparent_path = current_path.parentif parent_path == current_path:# use metagpt with pip install will land herecwd = Path.cwd()- logger.info(f"RPOJECT_ROOT set to current working directory: {str(cwd)}")+ logger.info(f"PROJECT_ROOT set to current working directory: {str(cwd)}")return cwdcurrent_path = parent_path