Remove hardcoded PG password fallbacks — require PG_DSN env var in all scripts
This commit is contained in:
@@ -15,7 +15,7 @@ from sentence_transformers import SentenceTransformer
|
||||
load_dotenv(Path.home() / "aaronai" / ".env")
|
||||
|
||||
CONVERSATIONS_DB = str(Path.home() / "aaronai" / "conversations.db")
|
||||
PG_DSN = os.getenv("PG_DSN", "dbname=aaronai user=aaronai password=aaronai_db_password host=localhost")
|
||||
PG_DSN = os.getenv("PG_DSN")
|
||||
MIN_EXCHANGES = 3
|
||||
|
||||
print("Loading embedding model...")
|
||||
|
||||
Reference in New Issue
Block a user