feat: LLM 解耦 bot、RSS 外置与内容过滤

daily 自建 Cursor bridge;DAILY_LLM_PROVIDER 控制后端;config/feeds.yaml 与 sensitive_words 可配置。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-03 15:24:58 +08:00
parent ce04d5a342
commit 5742dc47ed
19 changed files with 771 additions and 239 deletions

View File

@@ -62,6 +62,10 @@ DAILY_CN_AI_NEWS=1
# Agent 工作流(推荐:叙事化早报)
# DAILY_REPORT_MODE=agent
# DAILY_LLM_PROVIDER=auto
# auto — agent 模式优先 Cursor否则 OpenAIclassic 优先 OpenAI
# openai — 强制 OpenAI 兼容 API
# cursor — 强制 Cursor SDK
# CURSOR_API_KEY=cursor_...
# CURSOR_MODEL=composer-2.5
# DAILY_CURSOR_CWD=.
@@ -83,6 +87,10 @@ DAILY_AI_NEWS_PER_CATEGORY=5
# DAILY_AGENT_NEWS_POOL=40
# DAILY_AGENT_CN_NEWS_POOL=30
# RSS 源:编辑 config/feeds.yamlintl / cn缺失时回退内置默认
# 内容过滤config/sensitive_words.yaml + DAILY_CONTENT_FILTER=1
# DAILY_CONTENT_FILTER=0
# Reddit RSS403/429 时在 Reddit 偏好设置 → RSS feeds 复制 user / feed 参数)
# REDDIT_RSS_USER=your_username
# REDDIT_RSS_FEED=your_feed_token