mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-15 11:02:36 +02:00
fix typo
This commit is contained in:
parent
b9cfc29e31
commit
155da2df40
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ class RoleZeroLongTermMemory(Memory):
|
|||
If adding long-term memory fails, it will only log the error without interrupting program execution.
|
||||
"""
|
||||
|
||||
if not item:
|
||||
if not item or not item.message.content:
|
||||
return
|
||||
|
||||
self.rag_engine.add_objs([item])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue