replace loadenv by pydantic-settings

This commit is contained in:
Robin COuret
2026-03-05 20:08:10 +01:00
parent 93712919ff
commit 01f9e9f05e
12 changed files with 34 additions and 32 deletions

View File

@@ -1,6 +1,6 @@
DATABASE_URI="sqlite:///database.db"
LANGUAGE_MODEL_API="http://localhost:8080/v1"
MODEL_NAME="SmolLM3-Q4_K_M.gguf"
LANGUAGE_MODEL_NAME="SmolLM3-Q4_K_M.gguf"
ORIGIN="http://localhost:5173"
SECRET_SIGN="xxxx" #generate secure random secret key: openssl rand -hex 32
SECRET_KEY="xxxx" #generate secure random secret key: openssl rand -hex 32
ACCESS_TOKEN_EXPIRE_MINUTES=10080