mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-27 14:25:20 +02:00
refactor: brain memory
This commit is contained in:
parent
20fb71b0a3
commit
42d0281fbb
1 changed files with 1 additions and 1 deletions
|
|
@ -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_LANGUAGE
|
||||
command = f"Translate the above summary into a {language} title of less than {max_words} words."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue