Skip to content

[Bug] 插件没有支持最新的 DeepSeek V4.1 Flash 模型,模型列表似乎被硬编码了 #265

Description

@SalicylicAcid

What happened?

插件不支持最新的 DeepSeek V4.1 Flash 模型。每次有新模型发布时,都需要等待插件更新才能使用。

实际行为:模型列表中缺少最新的 DeepSeek V4.1 Flash 模型
预期行为:插件应该能够动态获取最新的模型列表,无需等待插件更新

How can we reproduce it?

  1. 打开 VS Code 扩展
  2. 查看可用的模型列表
  3. 注意缺少最新的 DeepSeek V4.1 Flash 模型
  4. 查看其他类似的 AI 插件(如 Claude for VSCode 等)
  5. 对比发现:其他插件支持动态获取模型列表,而本插件的模型列表被硬编码在代码中

Extension version

0.8.2

Editor build

Version: 1.137.0 (user setup)
Commit: 645f29cc3176500b4b5762ba887cf2a7f0ffdf2c
Date: 2026-09-08T13:43:59-07:00
Electron: 42.10.0
ElectronBuildId: 15109253
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
@github/copilot: 1.0.84.70.gdb75d0d
@github/copilot-sdk: 1.0.13-preview.4
OS: Windows_NT x64 10.0.26200

Additional context, if relevant

问题分析

  • 怀疑模型列表被硬编码在插件代码中
  • 每次新模型发布都需要插件发布新版本,这样的用户体验较差

改进建议
实现动态模型列表获取机制:

  1. 通过调用 DeepSeek API 的 /models 端点动态获取可用模型列表
  2. 缓存模型列表以减少 API 调用
  3. 在必要时自动刷新模型列表(如启动时、定期检查等)

这样可以:

  • 让用户立即使用新发布的模型,无需等待插件更新
  • 减少维护工作量
  • 与其他支持动态模型列表的插件保持一致

Confirmations

  • I searched existing Issues and did not find the same problem.
  • I confirmed that the public content contains no API keys, authorization headers, private prompts, private code, or unreviewed sensitive dumps.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions