feat(news): research 时讯加可信过滤、去重与国内配额

候选池按独立事件拉取,白名单过滤低质源,同事件与 tech 主题去重后按展示上限打包。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-31 15:47:50 +08:00
parent 0384e2c7a9
commit e2f609a027
6 changed files with 848 additions and 23 deletions

View File

@@ -38,6 +38,11 @@ DAILY_WECOM_GITHUB_TOPIC=5
DAILY_WECOM_AI_NEWS=10
# research 模式额外技术类时讯条数(叠加在 AI 时讯精选之上)
DAILY_WECOM_AI_NEWS_TECH=5
# research 主列表国内最少条数0=按约 30% 推算10→3
# DAILY_WECOM_AI_NEWS_CN_MIN=3
# research 去重后候选池独立事件数默认展示×20=自动)
# DAILY_AI_NEWS_RESEARCH_POOL=20
# DAILY_AI_NEWS_RESEARCH_TECH_POOL=10
DAILY_WECOM_CN_AI_NEWS=10
# 企微新闻摘要字数(句读/词边界截断,不加省略号)
# DAILY_WECOM_NEWS_DESC_LIMIT=72