daily 自建 Cursor bridge;DAILY_LLM_PROVIDER 控制后端;config/feeds.yaml 与 sensitive_words 可配置。 Co-authored-by: Cursor <cursoragent@cursor.com>
12 lines
456 B
Python
12 lines
456 B
Python
"""国内 AI 时讯 RSS 源(优先 config/feeds.yaml)。"""
|
||
|
||
from __future__ import annotations
|
||
|
||
from daily.news.feeds_loader import load_categories, load_cn_title_keywords
|
||
from daily.news.feeds_types import NewsCategory, NewsFeed
|
||
|
||
CN_AI_TITLE_KEYWORDS: tuple[str, ...] = load_cn_title_keywords()
|
||
CN_NEWS_CATEGORIES: tuple[NewsCategory, ...] = load_categories("cn")
|
||
|
||
__all__ = ["CN_AI_TITLE_KEYWORDS", "CN_NEWS_CATEGORIES", "NewsCategory", "NewsFeed"]
|