Skip to content

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

refactor: prompt

莘权 马c2c7f1c96d34
diff --git a/metagpt/actions/talk_action.py b/metagpt/actions/talk_action.py
index ec151718e..71ac5360a 100644
--- a/metagpt/actions/talk_action.py
+++ b/metagpt/actions/talk_action.py
@@ -98,7 +98,11 @@ Statement: Unless you are a language professional, answer the following question
, "[HISTORY_END]", "[KNOWLEDGE_BEGIN]", "[KNOWLEDGE_END]", "[ASK_BEGIN]", "[ASK_END]" in responses.
[ASK_BEGIN]
+
+
{ask}
+
+
[ASK_END]"""
__FORMATION_LOOSE__ = """Formation: "Capacity and role" defines the role you are currently playing;
@@ -130,5 +134,9 @@ Statement: Unless you are a language professional, answer the following question
, "[HISTORY_END]", "[KNOWLEDGE_BEGIN]", "[KNOWLEDGE_END]", "[ASK_BEGIN]", "[ASK_END]" in responses.
[ASK_BEGIN]
+
+
{ask}
+
+
[ASK_END]"""