🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
refactor: talk prompt
莘权 马107ddbe30890
diff --git a/metagpt/actions/talk_action.py b/metagpt/actions/talk_action.pyindex 83504b62d..a4cd78121 100644--- a/metagpt/actions/talk_action.py+++ b/metagpt/actions/talk_action.py@@ -26,7 +26,7 @@ class TalkAction(Action):self._rsp = None@property- def prompt(self):+ def prompt_old(self):prompt = ""if CONFIG.agent_description:prompt = (@@ -46,7 +46,7 @@ class TalkAction(Action):return prompt@property- def formation_prompt(self):+ def prompt(self):kvs = {"{role}": CONFIG.agent_description or "","{history}": self._history_summary or "",