🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
refactor: think
莘权 马04231088c771
diff --git a/metagpt/roles/assistant.py b/metagpt/roles/assistant.pyindex 428c1a70f..6530a3cac 100644--- a/metagpt/roles/assistant.py+++ b/metagpt/roles/assistant.py@@ -57,7 +57,7 @@ class Assistant(Role):prompt = f"Refer to this text:\n {last_talk}\n"skills = self.skills.get_skill_list()for desc, name in skills.items():- prompt += f"If the text explicitly want you to do {desc}, return `[SKILL]: {name}` brief and clear. For instance: [SKILL]: {name}\n"+ prompt += f"If the text explicitly want you to {desc}, return `[SKILL]: {name}` brief and clear. For instance: [SKILL]: {name}\n"prompt += ('Otherwise, return `[TALK]: {talk}` brief and clear. For instance: if {talk} is "xxxx" return [TALK]: xxxx')