Skip to content

Commit fb5c668

Browse files
committed
feat: modify internet search
1 parent 048584b commit fb5c668

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/core_memories/tree_textual_memory.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ def embed_memory_item(memory: str) -> list[float]:
244244
print(f"{i}'th similar result is: " + str(r["memory"]))
245245
print(f"Successfully search {len(results)} memories")
246246

247+
# close the synchronous thread in memory manager
247248
my_tree_textual_memory.memory_manager.close()
248249

249250
# my_tree_textual_memory.dump

0 commit comments

Comments
 (0)