From c715b9c10269856e7f6cf1c49cea4615a8a7733a Mon Sep 17 00:00:00 2001 From: geekan Date: Mon, 15 Jan 2024 16:58:01 +0800 Subject: [PATCH] fix bug --- metagpt/context.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: