Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

feat: +`tree` command

莘权 马6f4d30825f84
diff --git a/metagpt/utils/tree.py b/metagpt/utils/tree.py
index c0386d822..fbf085e48 100644
--- a/metagpt/utils/tree.py
+++ b/metagpt/utils/tree.py
@@ -34,7 +34,7 @@ from typing import Callable, Dict, List
from gitignore_parser import parse_gitignore
-def tree(root: str | Path, gitignore: str | Path = None, run_command: bool = True) -> str:
+def tree(root: str | Path, gitignore: str | Path = None, run_command: bool = False) -> str:
"""
Recursively traverses the directory structure and prints it out in a tree-like format.