mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-14 15:25:17 +02:00
fixbug: last_talk
This commit is contained in:
parent
998411a125
commit
18a65470f0
1 changed files with 5 additions and 0 deletions
|
|
@ -124,3 +124,8 @@ class BrainMemory(pydantic.BaseModel):
|
|||
return int(v)
|
||||
except:
|
||||
return default_value
|
||||
|
||||
def pop_last_talk(self):
|
||||
v = self.last_talk
|
||||
self.last_talk = ""
|
||||
return v
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue