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.

[Bug fix] Remove duplicate constants (#1342)

Deshraj Yadav6fb2048af0ac
diff --git a/embedchain/telemetry/posthog.py b/embedchain/telemetry/posthog.py
index b042431f2..37c63ea61 100644
--- a/embedchain/telemetry/posthog.py
+++ b/embedchain/telemetry/posthog.py
@@ -2,15 +2,11 @@ import json
import logging
import os
import uuid
-from pathlib import Path
from posthog import Posthog
import embedchain
-
-HOME_DIR = str(Path.home())
-CONFIG_DIR = os.path.join(HOME_DIR, ".embedchain")
-CONFIG_FILE = os.path.join(CONFIG_DIR, "config.json")
+from embedchain.constants import CONFIG_DIR, CONFIG_FILE
class AnonymousTelemetry:
diff --git a/pyproject.toml b/pyproject.toml
index bc8d42966..38fe0c06b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "embedchain"
-version = "0.1.101"
+version = "0.1.102"
description = "Simplest open source retrieval (RAG) framework"
authors = [
"Taranjeet Singh <[email protected]>",