Skip to content

fix(chat): default CHAT_MODEL to DeepSeek 4.1 - #172

Merged
EricNGOntos merged 1 commit into
mainfrom
feat/wuchengke/default-chat-model-deepseek
Sep 11, 2026
Merged

EricNGOntos merged 1 commit into
mainfrom
feat/wuchengke/default-chat-model-deepseek

Conversation

@EricNGOntos

Copy link
Copy Markdown
Contributor

Summary

  • 未设置 CHAT_MODEL 时,默认改为 deepseek/deepseek-v4.1-flash
  • 已设环境变量的环境(含 Vercel Production)仍走环境变量,不受这次代码默认影响。

Test plan

  • eslint src / tsc --noEmit / 全量 vitest run(813 passed)
  • Preview 未设 CHAT_MODEL 时聊天走 DeepSeek 4.1
  • Production 已设 CHAT_MODEL 时仍用环境变量里的模型

Made with Cursor

Use deepseek/deepseek-v4.1-flash when CHAT_MODEL is unset so local and unset environments match the intended default.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Sep 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
knowhere-notebook-staging Ready Ready Preview Sep 11, 2026 8:59am UTC
1 Skipped Deployment
Project Deployment Actions Updated
knowhere-notebook Ignored Ignored Sep 11, 2026 8:59am UTC

Request Review

@EricNGOntos
EricNGOntos merged commit 680d30d into main Sep 11, 2026
7 checks passed
@EricNGOntos
EricNGOntos deleted the feat/wuchengke/default-chat-model-deepseek branch September 11, 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.

1 participant