From 0278934131ff53d8a83fcb46a4b17c6c262ac28f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=A3=92=E6=A3=92?= Date: Tue, 12 Dec 2023 10:22:55 +0800 Subject: [PATCH] chore --- metagpt/actions/make_tools.py | 1 - 1 file changed, 1 deletion(-) diff --git a/metagpt/actions/make_tools.py b/metagpt/actions/make_tools.py index 2b2ba1cd5..74037e900 100644 --- a/metagpt/actions/make_tools.py +++ b/metagpt/actions/make_tools.py @@ -49,7 +49,6 @@ class MakeTools(WriteCodeByGenerate): saved_path = Path(self.workspace).joinpath(func_name+self.file_suffix) logger.info(f"Saved tool_code {func_name} in {str(saved_path)}.") saved_path.write_text(tool_code, encoding='utf-8') - # TODO: 保存到udf中,供WriteCodeWithMakeTools使用 @retry(stop=stop_after_attempt(3), wait=wait_fixed(1)) async def run(self, code_message: List[Message | Dict], **kwargs) -> str: