Skip to content

[Bug] Docker 部署:DeepSeek 模型列表为空 & whisper 模型下载失败 #417

Description

@hyglgithub

受影响的工作区

后端 (backend/)

版本

v2.4.4

部署方式

Docker (docker-compose.yml)

复现步骤

问题 1 - DeepSeek 模型列表为空:

  1. 进入「设置」→「模型供应商」
  2. 添加 DeepSeek 供应商,填入 API Key
  3. 查看模型列表下拉,为空

问题 2 - whisper 模型下载失败:

  1. 进入「设置」→「音频转写配置」
  2. 选择 tiny 模型
  3. 点击下载
  4. 提示下载失败

期望行为

  1. DeepSeek 应返回可用模型列表(deepseek-chat 等)
  2. whisper 模型应能正常下载

实际行为

问题 1:
F12 看到请求返回空数组:
GET /api/model_list/deepseek → {"code":0,"msg":"success","data":[]}
换成 Qwen 就正常。

问题 2:
报错:模型 tiny 下载失败:An error happened while trying to locate the file on the
Hub and we cannot find the requested files in the local cache.
我有 VPN,网络应该是通的,不确定是 HuggingFace 的问题还是 Docker 容器里代理没生效。

运行环境

  • OS: Windows 11
  • Docker Desktop: 29.1.3
  • BiliNote: v2.4.4

日志 / 堆栈

# whisper 下载失败日志
  2026-06-27 02:43:01 [INFO] app.routers.config - 开始下载 whisper 模型: tiny ←
  Systran/faster-whisper-tiny
  2026-06-27 02:43:02 [ERROR] app.routers.config - whisper 模型下载失败: tiny, An error
  happened while trying to locate the file on the Hub and we cannot find the requested
  files in the local cache. Please check your connection and try again or make sure
  your Internet connection is on.

提交前自查

  • 我已搜索过 Issues,确认不是重复问题
  • 我提供的日志中包含 API key、cookie、SESSDATA 等敏感信息

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions