🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
update: 环境变量去掉,mgx backend已经支持
zhanglei3de62c543342
diff --git a/metagpt/tools/libs/terminal.py b/metagpt/tools/libs/terminal.pyindex 7b0f124c0..0cc586fc1 100644--- a/metagpt/tools/libs/terminal.py+++ b/metagpt/tools/libs/terminal.py@@ -20,7 +20,6 @@ class Terminal:self.shell_command = ["bash"] # FIXME: should consider windows support laterself.command_terminator = "\n"- env = dict(os.environ)# Start a persistent shell processself.process = subprocess.Popen(self.shell_command,@@ -28,8 +27,7 @@ class Terminal:stdin=subprocess.PIPE,stdout=subprocess.PIPE,stderr=subprocess.STDOUT,- executable="/bin/bash",- env=env+ executable="/bin/bash")self.stdout_queue = Queue()self.observer = TerminalReporter()