This commit is contained in:
2026-05-24 01:16:07 +08:00
commit 2ece5174a7
35 changed files with 2583 additions and 0 deletions

17
backend/app/config.py Normal file
View File

@@ -0,0 +1,17 @@
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()