mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-21 14:05:17 +02:00
feat: is dirty
This commit is contained in:
parent
fb6bb4b692
commit
82c7fd94fd
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ class BrainMemory(pydantic.BaseModel):
|
|||
if not redis.is_valid() or not redis_key:
|
||||
return BrainMemory()
|
||||
v = await redis.get(key=redis_key)
|
||||
if not v:
|
||||
if v:
|
||||
data = json.loads(v)
|
||||
return BrainMemory(**data)
|
||||
return BrainMemory()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue