diff --git a/backend/app/news_agent/news_agent.py b/backend/app/news_agent/news_agent.py index 72aad0d..64672dc 100644 --- a/backend/app/news_agent/news_agent.py +++ b/backend/app/news_agent/news_agent.py @@ -273,12 +273,12 @@ class NewsAgent: # 批量发送最多10条 if truly_important_articles: - await self.notifier.notify_news_batch(trulyy_important_articles[:10]) + await self.notifier.notify_news_batch(truly_important_articles[:10]) for article in truly_important_articles[:10]: self.db_service.mark_as_notified(article['id']) self.stats['total_notified'] += 1 - logger.info(f"推送了 {len(trulyy_important_articles)} 条真正重要的新闻(从 {len(high_priority_articles)} 条 high 中筛选)") + logger.info(f"推送了 {len(truly_important_articles)} 条真正重要的新闻(从 {len(high_priority_articles)} 条 high 中筛选)") else: logger.info(f"没有达到推送标准的新闻({len(high_priority_articles)} 条 high 但不够重要)")