配置说明
系统配置详解
📋 配置文件说明
⚙️ 环境变量 (.env)
# AI API 配置
CLOUD_API_KEY=your_api_key_here
CLOUD_BASE_URL=https://api.openai.com/v1
CLOUD_MODEL=gpt-3.5-turbo
# 速率限制
MAX_API_CALLS_PER_MINUTE=60
MAX_DAILY_COST=10.0
# Cloudflare 配置
CLOUDFLARE_PROJECT_NAME=ai-digest-pro
📝 数据源配置 (config.yaml)
mode: "cloud"
sources:
- name: "OpenAI Blog"
url: "https://openai.com/news/rss.xml"
type: "rss"
enabled: true
category: "ai_industry"
🔧 调度器配置
scheduler:
enabled: true
timezone: "Asia/Shanghai"
type: "cron"
trigger_hours: "2,8,12,16,19,22"