Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

chore: linting (#449)

cachho4021d93168e0
diff --git a/embedchain/embedchain.py b/embedchain/embedchain.py
index f8ffa89d3..558c470e7 100644
--- a/embedchain/embedchain.py
+++ b/embedchain/embedchain.py
@@ -2,8 +2,8 @@ import importlib.metadata
import logging
import os
import threading
-from typing import Optional
import uuid
+from typing import Optional
import requests
from dotenv import load_dotenv
@@ -377,7 +377,7 @@ class EmbedChain:
# Send anonymous telemetry
thread_telemetry = threading.Thread(target=self._send_telemetry_event, args=("reset",))
thread_telemetry.start()
-
+
collection_name = self.collection.name
self.db.reset()
self.collection = self.config.db._get_or_create_collection(collection_name)
@@ -405,4 +405,4 @@ class EmbedChain:
metadata.update(extra_metadata)
response = requests.post(url, json={"metadata": metadata})
- response.raise_for_status()
\ No newline at end of file
+ response.raise_for_status()