AsyncMemory._add_to_vector_store bugfix when no facts found (#3313)
This commit is contained in:
@@ -1219,6 +1219,8 @@ class AsyncMemory(MemoryBase):
|
||||
except Exception as e:
|
||||
logger.error(f"Invalid JSON response: {e}")
|
||||
new_memories_with_actions = {}
|
||||
else:
|
||||
new_memories_with_actions = {}
|
||||
|
||||
returned_memories = []
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user