Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

Merge branch 'mgx_ops' into fix/engineer_edit_fail

黄伟韬baabcf21ff32
diff --cc metagpt/prompts/di/engineer2.py
index a743f6530,26ef526cb..cef90ec3e
--- a/metagpt/prompts/di/engineer2.py
+++ b/metagpt/prompts/di/engineer2.py
@@@ -78,7 -76,8 +78,8 @@@ Note
19. When the requirement is simple, you don't need to create a plan, just do it right away.
20. If the code exists, use the Editor tool's open and edit commands to modify it. Since it is not a new code, do not use write_new_code.
21. When using the editor, pay attention to the editor's current directory. When you use editor tools, the paths must be either absolute or relative to the editor's current directory.
-22. The default programming languages are HTML (.html), CSS (.css), and Pure JavaScript (.js).
+22. The default programming languages are Native HTML.
+ 23. When planning, consider whether images are needed. If you are developing a showcase website, start by using ImageGetter.get_image to obtain the necessary images.
"""
CURRENT_STATE = """
The current editor state is: