Skip to content

修复:更新已弃用的 DeepSeek 默认模型标识 - #370

Open
Zzy-min wants to merge 2 commits into
JOYCEQL:mainfrom
Zzy-min:agent/fix-deepseek-v4-model
Open

修复:更新已弃用的 DeepSeek 默认模型标识#370
Zzy-min wants to merge 2 commits into
JOYCEQL:mainfrom
Zzy-min:agent/fix-deepseek-v4-model

Conversation

@Zzy-min

@Zzy-min Zzy-min commented Jul 27, 2026

Copy link
Copy Markdown

概要

  • 将内置 DeepSeek 默认模型从已弃用的 deepseek-chat 更新为 deepseek-v4-flash
  • 对 DeepSeek 的简历润色与语法检查请求显式传递 thinking: { type: "disabled" },保持旧默认模型的非思考行为。

根因

deepseek-chat 已退役。迁移到 deepseek-v4-flash 后,如果不指定 thinking,DeepSeek 会默认启用思考模式;旧模型别名对应的是非思考模式。两个 API 路由都从相同的 provider 配置获取默认模型,因此需要同时控制其上游请求载荷。

验证

  • pnpm build 通过。
  • 使用已配置的真实 DeepSeek 密钥:
    • POST /api/grammar:HTTP 200,返回有效且非空的 JSON 内容。
    • POST /api/polish:HTTP 200,流式输出非空。
  • 同一密钥的 QLing 对照请求确认:显式禁用思考后,deepseek-v4-flash 返回 HTTP 200 和预期最终内容。

关联 Issue:Fixes #369

@Zzy-min
Zzy-min marked this pull request as ready for review July 28, 2026 05:51
Copilot AI review requested due to automatic review settings July 28, 2026 05:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Zzy-min
Zzy-min force-pushed the agent/fix-deepseek-v4-model branch from a398f9f to 2b8d778 Compare August 13, 2026 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

修复:更新已弃用的 DeepSeek 默认模型标识

2 participants