refactor: переход на единую БД scud_orion_ai.db и очистка init_db.py

This commit is contained in:
2026-08-08 13:04:39 +03:00
parent 3405d86946
commit f1ef965640
2 changed files with 28 additions and 59 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ app = FastAPI(
description="REST API локального контекста, памяти и трекинга задач для ИИ-аудитора"
)
DB_NAME = "context_memory.db"
DB_NAME = "/home/puh/scud_orion_ai_v2/data/scud_orion_ai.db"
SECURITY_TOKEN = os.getenv("API_BEARER_TOKEN", "scud_secret_token_2026")
security = HTTPBearer()
# === ANCHOR: APP_INIT_END ===