chore: 集成 LLM 增强 — config/main/articles schema/workers + .env.example 加 Agnes 配置

This commit is contained in:
Mavis
2026-06-08 14:24:23 +08:00
parent ffd667f0dc
commit ba2298da0a
7 changed files with 48 additions and 7 deletions

View File

@@ -56,3 +56,13 @@ FETCH_MAX_RETRIES=2
DOMAIN=
# 邮箱(Let's Encrypt 用)
ACME_EMAIL=you@example.com
# ===== Agnes LLM(翻译后智能增强)=====
# 留空 = 不启用 LLM 增强(只走翻译)
# Agnes 控制台申请:https://platform.agnes-ai.com/
AGNES_API_KEY=your_agnes_api_key
AGNES_BASE_URL=https://apihub.agnes-ai.com/v1
AGNES_CHAT_MODEL=agnes-2.0-flash
AGNES_IMAGE_MODEL=agnes-image-2.1-flash
# LLM 调用间隔(秒,避免被限流;chat + image 各 1 个串行)
LLM_INTERVAL_SEC=2.0