mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-12 01:02:37 +02:00
fixbug: max_words
This commit is contained in:
parent
c69928a174
commit
56bf0b9b97
1 changed files with 1 additions and 1 deletions
|
|
@ -228,4 +228,4 @@ class OpenAIGPTAPI(BaseGPTAPI, RateLimiter):
|
|||
from metagpt.memory.brain_memory import BrainMemory
|
||||
|
||||
memory = BrainMemory(llm_type=LLMType.OPENAI.value, historical_summary=text, cacheable=False)
|
||||
return await memory.summarize(llm=self, max_length=max_words, keep_language=keep_language)
|
||||
return await memory.summarize(llm=self, max_words=max_words, keep_language=keep_language)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue