🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
update: add refactor code for make_tools.
刘棒棒ab020adec4c1
diff --git a/metagpt/actions/make_tools.py b/metagpt/actions/make_tools.pyindex 7fd05751e..9da829e1f 100644--- a/metagpt/actions/make_tools.py+++ b/metagpt/actions/make_tools.py@@ -11,8 +11,10 @@ from metagpt.actions.write_analysis_code import WriteCodeByGenerateclass MakeTools(WriteCodeByGenerate):DEFAULT_SYSTEM_MSG = """Please Create a General Function Code startswith `def` from any codes you got.\n- **Notice:The import statement must be written after `def`, it is very important for you.- Reflect on whether it meets the requirements of function. Must Write example code, and we will execute the example code.**+ **Notice:1. The import statement must be written after `def`, it is very important for you.+ 2. Reflect on whether it meets the requirements of function.+ 3. Refactor your code with the best performance when dealing with big data.+ 4. Must Write example code, and it could be execute in the user machine.**"""def __init__(self, name: str = '', context=None, llm=None, workspace: str = None):