Skip to content

⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。

fix: keep AI incremental notifications to new items (#1008)

bing-h1b41881ec431
diff --git a/trendradar/context.py b/trendradar/context.py
index bc1199de7f..126b2daf55 100644
--- a/trendradar/context.py
+++ b/trendradar/context.py
@@ -1044,6 +1044,12 @@ class AppContext:
if item_source_id in new_titles:
is_new = item_title in new_titles[item_source_id]
+ # incremental 模式下仅保留本轮新增命中的条目。
+ # run_ai_filter() 返回的是 active 结果集合,因此这里需要
+ # 显式过滤掉历史已命中的旧条目,才能与 keyword 模式行为对齐。
+ if mode == "incremental" and not is_new:
+ continue
+
title_entry = {
"title": item.get("title", ""),
"source_name": item.get("source_name", ""),