mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-15 11:02:36 +02:00
update: 环境变量去掉,mgx backend已经支持
This commit is contained in:
parent
a7733fb4b2
commit
3de62c5433
1 changed files with 1 additions and 3 deletions
|
|
@ -20,7 +20,6 @@ class Terminal:
|
|||
self.shell_command = ["bash"] # FIXME: should consider windows support later
|
||||
self.command_terminator = "\n"
|
||||
|
||||
env = dict(os.environ)
|
||||
# Start a persistent shell process
|
||||
self.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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue