mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
fixbug: get_memory
This commit is contained in:
parent
b410b93520
commit
f17660b122
1 changed files with 2 additions and 2 deletions
|
|
@ -130,8 +130,8 @@ class Assistant(Role):
|
|||
from metagpt.provider.openai_api import OpenAIGPTAPI
|
||||
return OpenAIGPTAPI.extract_info(input_string)
|
||||
|
||||
def get_memory(self, exclude=None) -> str:
|
||||
return self.memory.json(exclude=exclude)
|
||||
def get_memory(self) -> str:
|
||||
return self.memory.json()
|
||||
|
||||
def load_memory(self, jsn):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue