Files
aihot/backend/app/config.py
2026-05-24 01:16:07 +08:00

18 lines
459 B
Python

from pydantic_settings import BaseSettings
class Settings(BaseSettings):
database_url: str = "postgresql+asyncpg://pharma:pharma123@localhost/pharma_news"
admin_token: str = "change-me-admin-token"
initial_llm_provider: str = "deepseek"
initial_llm_api_key: str = ""
initial_llm_base_url: str = "https://api.deepseek.com"
initial_llm_model: str = "deepseek-chat"
class Config:
env_file = ".env"
settings = Settings()