From e743ef1a12622de4d4016929495a344f4787ba1f Mon Sep 17 00:00:00 2001 From: geekan Date: Wed, 10 Jan 2024 20:21:06 +0800 Subject: [PATCH] fix bug --- metagpt/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metagpt/context.py b/metagpt/context.py index 35892f3f3..1c351ef22 100644 --- a/metagpt/context.py +++ b/metagpt/context.py @@ -173,7 +173,7 @@ class ContextMixin(BaseModel): @property def llm(self) -> BaseLLM: """Role llm: role llm > context llm""" - print(f"class:{self.__class__.__name__}({self.name}), llm: {self._llm}, llm_config: {self._llm_config}") + # print(f"class:{self.__class__.__name__}({self.name}), llm: {self._llm}, llm_config: {self._llm_config}") if self._llm_config and not self._llm: self._llm = self.context.llm_with_cost_manager_from_llm_config(self._llm_config) return self._llm or self.context.llm()