Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Python
__pycache__/
*.py[cod]
*.egg-info/
dist/
build/
*.egg
.venv/
venv/

# 输出文件
output/

# 数据库
*.db

# IDE
.vscode/
.idea/
*.swp
*.swo

# 环境变量
.env
.env.local

# 操作系统
.DS_Store
Thumbs.db
181 changes: 56 additions & 125 deletions config/ai_analysis_prompt.txt

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ notification:
# 推送渠道配置
channels:
feishu:
webhook_url: "" # 飞书机器人 webhook URL
webhook_url: "https://open.feishu.cn/open-apis/bot/v2/hook/f5029eea-0645-4673-b3a0-bdd02c7c491d" # 飞书机器人 webhook URL

dingtalk:
webhook_url: "" # 钉钉机器人 webhook URL
Expand Down Expand Up @@ -363,11 +363,11 @@ ai:
# 完整列表: https://docs.litellm.ai/docs/providers
# 如果你对于看英文文档比较头疼,那么可以点击页面右下角的 【Ask AI】 ,用中文询问怎么配置

model: "deepseek/deepseek-v4-flash"
model: "openai/LongCat-2.0"

api_key: "" # API Key(建议使用环境变量 AI_API_KEY)
api_key: "ak_2Wq4t81VB5yn91c7BR6SL0vE6Tg4G" # API Key(建议使用环境变量 AI_API_KEY)

api_base: "" # 自定义 API 地址(可选,绝大多数情况留空即可)
api_base: "https://api.longcat.chat/openai/v1" # 自定义 API 地址(可选,绝大多数情况留空即可)
#
# ❓ 什么时候需要填?
# 当你使用的 AI 服务商不在上方支持列表中时。
Expand All @@ -388,13 +388,14 @@ ai:
# 这样几乎任何服务商都能接入。


timeout: 120 # 请求超时(秒)
timeout: 480 # 请求超时(秒,8 分钟)
# 推理模型(如 LongCat)生成推理过程较慢,适当调大超时

temperature: 1.0 # 采样温度 (0.0-2.0)
# 注意:部分模型(如 gpt-5)可能要求必须为 1.0,否则会报错

max_tokens: 5000 # 最大生成 token 数
# 注意:如果 API 不支持此参数(报 HTTP 400),请设为 0 以禁用发送
max_tokens: 0 # 最大生成 token 数(0=不限制,由模型/服务商决定上限)
# 推理模型(如 LongCat)会占用 token 输出推理过程,设为 0 避免截断
# 高级选项
num_retries: 1 # 失败重试次数
fallback_models: [] # 备用模型列表(可选)
Expand Down
16 changes: 13 additions & 3 deletions config/frequency_words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
/谷歌|皮查伊|安卓|油管|\bGoogle\b|\bAlphabet\b|\bAndroid\b|\bChrome\b|\bYouTube\b|\bGemini\b|\bDeepMind\b|\bWaymo\b/ => 谷歌
/库克|\biPhone\b|\biPad\b|\bMacBook\b|\biOS\b|\bVision Pro\b|\bAirPods\b|\bApple\b|\bTim Cook\b/ => 苹果

/\bOpenAI\b|\bChatGPT\b|\bSora\b|\bDALL-E\b|\bSam Altman\b|\bGreg Brockman\b/ => OpenAI
/\bOpenAI\b|\bChatGPT\b|\bSora\b|\bDALL-E\b|\bSam Altman\b|\bGreg Brockman\b|\bGPT\b/ => OpenAI
/\bAnthropic\b|\bClaude\b|\bDario Amodei\b/ => Claude


Expand Down Expand Up @@ -230,11 +230,17 @@
[AI 相关]
/(?<![a-zA-Z])ai(?![a-zA-Z])/
人工智能
/\bLLM\b/
/\bAgent\b/
/\bMCP\b/
/\bArtificial Intelligence\b/
/\bMachine Learning\b/

[芯片]
芯片
光刻机
半导体
/\bSemiconductor\b|\bChip\b|\bchipmaker\b|\bCPU\b/ => 芯片

/水电|雅鲁藏布江/ => 水电
/光伏|太阳能/ => 光伏
Expand All @@ -243,11 +249,15 @@

/自动驾驶|无人驾驶|智驾/ => 自动驾驶

[机器人]
机器人
/机械狗|四足/ => 机器狗
/机械狗|四足/
具身智能
/\bRobot\b|\bRobotics\b/

/月球|登月|火星|宇宙|飞船|航天|空间站|卫星/ => 航天
[航天]
/月球|登月|火星|宇宙|飞船|航天|空间站|卫星/
/\bSpace\b|\bRocket\b|\bSpaceX\b|\bSatellite\b/

# 前沿科技
量子
Expand Down
Loading