🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
fixbug: last_talk
莘权 马8075154a8db0
diff --git a/metagpt/roles/assistant.py b/metagpt/roles/assistant.pyindex 9c80593f6..018a1fb01 100644--- a/metagpt/roles/assistant.py+++ b/metagpt/roles/assistant.py@@ -125,7 +125,7 @@ class Assistant(Role):return Noneif history_text == "":return last_talk- history_summary = await self._llm.get_summary(history_text, max_words=500)+ history_summary = await self._llm.get_summary(history_text, max_words=800)await self.memory.set_history_summary(history_summary=history_summary, redis_key=CONFIG.REDIS_KEY, redis_conf=CONFIG.REDIS)