🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
refactor: think
莘权 马c792cf09ecb6
diff --git a/metagpt/roles/assistant.py b/metagpt/roles/assistant.pyindex bef2cf53c..cd1932f82 100644--- a/metagpt/roles/assistant.py+++ b/metagpt/roles/assistant.py@@ -93,6 +93,7 @@ class Assistant(Role):async def talk_handler(self, text, **kwargs) -> bool:history = self.memory.history_text+ text = kwargs.get("last_talk") or textaction = TalkAction(talk=text, knowledge=self.memory.get_knowledge(), history_summary=history, llm=self._llm, **kwargs)