Skip to content

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

fix bug

geekanc715b9c10269
diff --git a/metagpt/context.py b/metagpt/context.py
index 2f0264f2d..8e9749d66 100644
--- a/metagpt/context.py
+++ b/metagpt/context.py
@@ -70,8 +70,8 @@ class Context(BaseModel):
def new_environ(self):
"""Return a new os.environ object"""
env = os.environ.copy()
- i = self.options
- env.update({k: v for k, v in i.items() if isinstance(v, str)})
+ # i = self.options
+ # env.update({k: v for k, v in i.items() if isinstance(v, str)})
return env
# def use_llm(self, name: Optional[str] = None, provider: LLMType = LLMType.OPENAI) -> BaseLLM: