大模型配置
大模型走抽象接口,可随时更换服务商;API Key 只保存在环境变量里,数据库只记录 「读取 Key 的环境变量名」,绝不把 Key 写入数据库或页面。
当前运行状态
AI 不可用时自动降级为离线规则+统计实现,网站与日报功能不受影响
当前 Provider
openai_compatible
运行模式
在线大模型
模型
deepseek-v4-flash
近 7 天调用
0
失败次数
0
Token 总量
0
AI 功能开关
可逐项关闭 AI 参与,关闭后对应环节自动使用离线实现已登记的 Provider
「是否检测到 Key」只检查环境变量是否存在,不显示内容| Provider | 模型 / 接口 | Key 环境变量 | Key 状态 | 参数 | 状态 | 操作 |
|---|---|---|---|---|---|---|
|
DeekSeek API
openai_compatible
当前使用
|
deepseek-v4-flash
https://api.deepseek.com/chat/completions
|
LLM_API_KEY | 已检测到 |
max 2048 · T 0.2 超时 60s · 优先级 100 |
已启用 | 编辑 |
|
离线降级实现(规则 + 统计,无需 API Key)
offline
离线实现
|
offline-rules
—
|
LLM_API_KEY | 不需要 |
max 2048 · T 0.2 超时 60s · 优先级 999 |
已启用 | 编辑 |
编辑 Provider 参数
所有参数保存在数据库,支持超时、重试与降级DeekSeek API openai_compatible 当前使用
离线降级实现(规则 + 统计,无需 API Key) offline
近 7 天用量(按任务类型)
用于回答「哪类任务最费 token」| 任务类型 | 调用 | 输入 Token | 输出 Token | 失败 |
|---|---|---|---|---|
| 近 7 天没有 AI 调用记录。 | ||||
最近 50 次调用明细
含降级标记:降级表示该次调用回退到了离线实现| 任务 | 状态 | 输入/输出 | 耗时 | 时间 |
|---|---|---|---|---|
| daily_selection | success | 977 / 240 | 1921 ms | 2026-10-10 13:33 |
| ranking | success | 587 / 175 | 1654 ms | 2026-10-10 13:33 |
| ranking | success | 2153 / 1210 | 7316 ms | 2026-10-10 13:33 |
| deduplication | fail 降级 | 0 / 0 | 159 ms | 2026-10-10 13:33 |
| importance | fail 降级 | 0 / 0 | 16 ms | 2026-10-10 13:33 |
| summary | fail 降级 | 0 / 0 | 31 ms | 2026-10-10 13:33 |
| region_classification | fail 降级 | 0 / 0 | 0 ms | 2026-10-10 13:33 |
| topic_classification | fail 降级 | 0 / 0 | 24 ms | 2026-10-10 13:33 |
| deduplication | fail 降级 | 0 / 0 | 159 ms | 2026-10-10 13:33 |
| importance | fail 降级 | 0 / 0 | 15 ms | 2026-10-10 13:33 |
| summary | fail 降级 | 0 / 0 | 31 ms | 2026-10-10 13:33 |
| region_classification | fail 降级 | 0 / 0 | 0 ms | 2026-10-10 13:33 |
| topic_classification | fail 降级 | 0 / 0 | 20 ms | 2026-10-10 13:33 |
| daily_selection | success | 1102 / 387 | 2986 ms | 2026-10-07 14:52 |
| ranking | success | 1504 / 324 | 2735 ms | 2026-10-07 14:52 |
| ranking | success | 598 / 457 | 3470 ms | 2026-10-07 14:52 |
| ranking | success | 599 / 502 | 3647 ms | 2026-10-07 14:52 |
| ranking | success | 2240 / 497 | 3641 ms | 2026-10-07 14:52 |
| daily_selection | success | 1143 / 488 | 2886 ms | 2026-10-07 14:52 |
| ranking | success | 1504 / 210 | 2035 ms | 2026-10-07 14:52 |
| ranking | success | 598 / 507 | 3148 ms | 2026-10-07 14:52 |
| ranking | success | 599 / 507 | 3224 ms | 2026-10-07 14:52 |
| ranking | success | 2240 / 576 | 4186 ms | 2026-10-07 14:51 |
| deduplication | fail 降级 | 0 / 0 | 157 ms | 2026-10-07 14:51 |
| importance | fail 降级 | 0 / 0 | 15 ms | 2026-10-07 14:51 |
| summary | fail 降级 | 0 / 0 | 23 ms | 2026-10-07 14:51 |
| region_classification | fail 降级 | 0 / 0 | 0 ms | 2026-10-07 14:51 |
| topic_classification | fail 降级 | 0 / 0 | 15 ms | 2026-10-07 14:51 |
| deduplication | fail 降级 | 0 / 0 | 157 ms | 2026-10-07 14:51 |
| importance | fail 降级 | 0 / 0 | 15 ms | 2026-10-07 14:51 |
| summary | fail 降级 | 0 / 0 | 33 ms | 2026-10-07 14:51 |
| region_classification | fail 降级 | 0 / 0 | 0 ms | 2026-10-07 14:51 |
| topic_classification | fail 降级 | 0 / 0 | 15 ms | 2026-10-07 14:51 |
| daily_selection | success | 1045 / 536 | 2939 ms | 2026-10-07 10:10 |
| ranking | success | 1208 / 296 | 2484 ms | 2026-10-07 10:10 |
| ranking | success | 598 / 628 | 3983 ms | 2026-10-07 10:10 |
| ranking | success | 599 / 426 | 2934 ms | 2026-10-07 10:10 |
| ranking | success | 2263 / 476 | 3463 ms | 2026-10-07 10:10 |
| deduplication | fail 降级 | 0 / 0 | 203 ms | 2026-10-07 10:10 |
| importance | fail 降级 | 0 / 0 | 15 ms | 2026-10-07 10:10 |
| summary | fail 降级 | 0 / 0 | 15 ms | 2026-10-07 10:10 |
| region_classification | fail 降级 | 0 / 0 | 15 ms | 2026-10-07 10:10 |
| topic_classification | fail 降级 | 0 / 0 | 15 ms | 2026-10-07 10:10 |
| deduplication | fail 降级 | 0 / 0 | 188 ms | 2026-10-07 10:10 |
| importance | fail 降级 | 0 / 0 | 15 ms | 2026-10-07 10:10 |
| summary | fail 降级 | 0 / 0 | 15 ms | 2026-10-07 10:10 |
| region_classification | fail 降级 | 0 / 0 | 16 ms | 2026-10-07 10:10 |
| topic_classification | fail 降级 | 0 / 0 | 12 ms | 2026-10-07 10:10 |
| daily_selection | success | 1283 / 688 | 49284 ms | 2026-10-06 07:08 |
| ranking | success | 590 / 113 | 2558 ms | 2026-10-06 07:07 |