mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
fixbug: No user feedback, unsure if past conversation is finished.
This commit is contained in:
parent
4fddfbab58
commit
903e89cec3
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) -> str:
|
||||
return self.memory.json()
|
||||
def get_memory(self, exclude=None) -> str:
|
||||
return self.memory.json(exclude=exclude)
|
||||
|
||||
def load_memory(self, jsn):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue