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

18
.env.example Normal file
View File

@@ -0,0 +1,18 @@
# 数据库
DATABASE_URL=postgresql+asyncpg://pharma:pharma123@db:5432/pharma_news
# 管理员令牌(用于后台登录)
ADMIN_TOKEN=change-me-admin-token
# 初始 LLM 配置(可在管理页面覆盖)
# 推荐国内服务器使用 DeepSeek可直连
INITIAL_LLM_PROVIDER=deepseek
INITIAL_LLM_API_KEY=sk-xxxxxxxx
INITIAL_LLM_BASE_URL=https://api.deepseek.com
INITIAL_LLM_MODEL=deepseek-chat
# 若使用 Anthropic需配置代理
# INITIAL_LLM_PROVIDER=anthropic
# INITIAL_LLM_API_KEY=sk-ant-xxxxxxxx
# INITIAL_LLM_BASE_URL=https://api.anthropic.com
# INITIAL_LLM_MODEL=claude-sonnet-4-6