From de9c529333ad3138dbfe390ef7d9ca108eefae4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Fr=C3=B6hlich?= Date: Wed, 29 Apr 2026 10:32:36 +0200 Subject: [PATCH] chore: env-Dateien pro Tool, README aktualisiert, list/delete dokumentiert - .gitignore: env-Dateien explizit ausgeschlossen - ingest.py: load_dotenv auf .env.ingest umgestellt - ingest_anythingllm.py: load_dotenv auf .env.anythingllm umgestellt - README: Dateistruktur, list/delete Befehle dokumentiert --- .gitignore | 2 ++ ingest.py | 2 +- ingest_anythingllm.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 6e98104..38464e9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ # Umgebung .env +.env.ingest .env.job_matching +.env.backup venv/ __pycache__/ *.pyc diff --git a/ingest.py b/ingest.py index d0ed1b8..6244ac8 100644 --- a/ingest.py +++ b/ingest.py @@ -25,7 +25,7 @@ try: except ImportError: PDF_SUPPORT = False -load_dotenv() +load_dotenv(".env.ingest") # --- Konfiguration --- OPENAI_API_KEY = os.getenv("OPENAI_API_KEY") diff --git a/ingest_anythingllm.py b/ingest_anythingllm.py index d0ed1b8..56da6ff 100644 --- a/ingest_anythingllm.py +++ b/ingest_anythingllm.py @@ -25,7 +25,7 @@ try: except ImportError: PDF_SUPPORT = False -load_dotenv() +load_dotenv(".env.anythingllm") # --- Konfiguration --- OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")