From 2b8dbec5d044c7e5c67a6cb4b3146e69a632bab8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=A3=92=E6=A3=92?= Date: Mon, 11 Dec 2023 21:01:53 +0800 Subject: [PATCH] update DEFAULT_SYSTEM_MSG. --- metagpt/actions/make_tools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/metagpt/actions/make_tools.py b/metagpt/actions/make_tools.py index 7cad8ef7b..2b2ba1cd5 100644 --- a/metagpt/actions/make_tools.py +++ b/metagpt/actions/make_tools.py @@ -16,7 +16,8 @@ class MakeTools(WriteCodeByGenerate): 1. Reflect on whether it meets the requirements of a general function. 2. Refactor your code to get the most efficient implementation for large input data in the shortest amount of time. 3. Use Google style for function annotations. - 4. Write example code by using old varibales in old code, and make sure it could be execute in the user's machine.** + 4. Write example code after `if __name__ == '__main__':`by using old varibales in old code, + and make sure it could be execute in the user's machine.** """ def __init__(self, name: str = '', context: list[Message] = None, llm: LLM = None, workspace: str = None):