🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
refactor: brain memory
莘权 马42d0281fbbba
diff --git a/metagpt/memory/brain_memory.py b/metagpt/memory/brain_memory.pyindex 3dfa050b3..a995244a6 100644--- a/metagpt/memory/brain_memory.py+++ b/metagpt/memory/brain_memory.py@@ -218,7 +218,7 @@ class BrainMemory(pydantic.BaseModel):async def get_title(self, llm, max_words=5, **kwargs) -> str:"""Generate text title"""- summary = await self.summarize(max_words=500)+ summary = await self.summarize(llm=llm, max_words=500)language = CONFIG.language or DEFAULT_LANGUAGEcommand = f"Translate the above summary into a {language} title of less than {max_words} words."