fix: mongo db database name in settings

This commit is contained in:
Alex
2025-04-24 17:29:41 +01:00
parent 76fd6e15cc
commit df9d432d29
10 changed files with 16 additions and 11 deletions

View File

@@ -19,6 +19,7 @@ class Settings(BaseSettings):
CELERY_BROKER_URL: str = "redis://localhost:6379/0"
CELERY_RESULT_BACKEND: str = "redis://localhost:6379/1"
MONGO_URI: str = "mongodb://localhost:27017/docsgpt"
MONGO_DB_NAME: str = "docsgpt"
MODEL_PATH: str = os.path.join(current_dir, "models/docsgpt-7b-f16.gguf")
DEFAULT_MAX_HISTORY: int = 150
MODEL_TOKEN_LIMITS: dict = {