devmind-cli 0.1.0__tar.gz → 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {devmind_cli-0.1.0 → devmind_cli-0.1.1}/PKG-INFO +1 -1
- {devmind_cli-0.1.0 → devmind_cli-0.1.1}/devmind/memory.py +4 -4
- {devmind_cli-0.1.0 → devmind_cli-0.1.1}/devmind_cli.egg-info/PKG-INFO +1 -1
- {devmind_cli-0.1.0 → devmind_cli-0.1.1}/pyproject.toml +1 -1
- {devmind_cli-0.1.0 → devmind_cli-0.1.1}/README.md +0 -0
- {devmind_cli-0.1.0 → devmind_cli-0.1.1}/devmind/__init__.py +0 -0
- {devmind_cli-0.1.0 → devmind_cli-0.1.1}/devmind/cli.py +0 -0
- {devmind_cli-0.1.0 → devmind_cli-0.1.1}/devmind/ingestion/comment_extractor.py +0 -0
- {devmind_cli-0.1.0 → devmind_cli-0.1.1}/devmind/ingestion/file_reader.py +0 -0
- {devmind_cli-0.1.0 → devmind_cli-0.1.1}/devmind/ingestion/git_parser.py +0 -0
- {devmind_cli-0.1.0 → devmind_cli-0.1.1}/devmind/integrations/claude_code.py +0 -0
- {devmind_cli-0.1.0 → devmind_cli-0.1.1}/devmind/web/app.py +0 -0
- {devmind_cli-0.1.0 → devmind_cli-0.1.1}/devmind_cli.egg-info/SOURCES.txt +0 -0
- {devmind_cli-0.1.0 → devmind_cli-0.1.1}/devmind_cli.egg-info/dependency_links.txt +0 -0
- {devmind_cli-0.1.0 → devmind_cli-0.1.1}/devmind_cli.egg-info/entry_points.txt +0 -0
- {devmind_cli-0.1.0 → devmind_cli-0.1.1}/devmind_cli.egg-info/requires.txt +0 -0
- {devmind_cli-0.1.0 → devmind_cli-0.1.1}/devmind_cli.egg-info/top_level.txt +0 -0
- {devmind_cli-0.1.0 → devmind_cli-0.1.1}/setup.cfg +0 -0
|
@@ -2,14 +2,14 @@ import os
|
|
|
2
2
|
import logging
|
|
3
3
|
import random
|
|
4
4
|
import asyncio
|
|
5
|
-
from dotenv import load_dotenv
|
|
5
|
+
from dotenv import load_dotenv, find_dotenv
|
|
6
6
|
|
|
7
7
|
# Set up logging
|
|
8
8
|
logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(levelname)s - %(message)s")
|
|
9
9
|
logger = logging.getLogger("devmind.memory")
|
|
10
10
|
|
|
11
11
|
# Load dotenv and set project-scoped directories BEFORE importing cognee
|
|
12
|
-
load_dotenv()
|
|
12
|
+
load_dotenv(find_dotenv(usecwd=True))
|
|
13
13
|
|
|
14
14
|
project_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
15
15
|
system_path = os.path.join(project_root, ".cognee_system")
|
|
@@ -37,7 +37,7 @@ def load_api_keys():
|
|
|
37
37
|
Supports a comma-separated list via GROQ_API_KEYS, falling back to GROQ_API_KEY.
|
|
38
38
|
"""
|
|
39
39
|
global _GROQ_API_KEYS
|
|
40
|
-
load_dotenv()
|
|
40
|
+
load_dotenv(find_dotenv(usecwd=True))
|
|
41
41
|
|
|
42
42
|
# Read GROQ_API_KEYS comma-separated list
|
|
43
43
|
keys_str = os.getenv("GROQ_API_KEYS", "")
|
|
@@ -79,7 +79,7 @@ def initialize_cognee():
|
|
|
79
79
|
"""
|
|
80
80
|
Loads configuration from .env and verifies LLM & Embedding provider setup.
|
|
81
81
|
"""
|
|
82
|
-
load_dotenv()
|
|
82
|
+
load_dotenv(find_dotenv(usecwd=True))
|
|
83
83
|
load_api_keys()
|
|
84
84
|
|
|
85
85
|
# Disable backend access control and authentication for local CLI use
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|