Skip to content

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

fixbug: last_talk

莘权 马845cc8fbfd99
diff --git a/metagpt/actions/talk_action.py b/metagpt/actions/talk_action.py
index 54c004602..1c1a4e86d 100644
--- a/metagpt/actions/talk_action.py
+++ b/metagpt/actions/talk_action.py
@@ -40,7 +40,7 @@ class TalkAction(Action):
prompt += "According to the historical conversation above, "
language = CONFIG.language or DEFAULT_LANGUAGE
prompt += (
- f"Answer the following questions in {language}, and the answers must follow the Markdown format.\n "
+ f"Answer the following questions strictly in {language}, and the answers must follow the Markdown format.\n "
f"{self._talk}"
)
return prompt
@@ -89,7 +89,7 @@ Statement: Your responses should align with the role-play agreement, maintaining
[KNOWLEDGE_END]
Statement: If the information is insufficient, you can search in the historical conversation or knowledge.
-Statement: Answer the following questions in {language}, and the answers must follow the Markdown format
+Statement: Answer the following questions strictly in {language}, and the answers must follow the Markdown format
, excluding any tag likes "[HISTORY_BEGIN]", "[HISTORY_END]", "[KNOWLEDGE_BEGIN]", "[KNOWLEDGE_END]", "[ASK_BEGIN]"
, "[ASK_END]"
@@ -117,7 +117,7 @@ Statement: Your responses should maintaining the character's persona and habits.
[KNOWLEDGE_END]
Statement: If the information is insufficient, you can search in the historical conversation or knowledge.
-Statement: Answer the following questions in {language}, and the answers must follow the Markdown format
+Statement: Answer the following questions strictly in {language}, and the answers must follow the Markdown format
, excluding any tag likes "[HISTORY_BEGIN]", "[HISTORY_END]", "[KNOWLEDGE_BEGIN]", "[KNOWLEDGE_END]", "[ASK_BEGIN]"
, "[ASK_END]"