Repository navigation
Conversation
deepseek-chat 是 Chat Completions 时代的旧名;官方 Responses 文档与 Models & Pricing 页面当前列出的模型为 deepseek-v4-flash / deepseek-v4-pro。 默认模型改为 deepseek-v4-flash,note 如实标注内置搜索待实测。 路由测试补 defaultModel 断言。
Collaborator
Author
|
这条旧方案已由 Codeberg #1 的后续实测修正替代,并随 #512 接回 main:保留当前的 deepseek-flash 路由及关闭服务端 web_search 的修正,不重新合入旧默认值。 对应主线提交为 948f092a。来源分支完整保存在 codeberg/codex/deepseek-default-model;关闭此旧草稿,保留讨论与原分支。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
解决什么
DeepSeek 路由的
defaultModel: "deepseek-chat"是 Chat Completions 时代的旧名。按 2026-09-18 的官方文档(Responses 指南 + Models & Pricing)改为deepseek-v4-flash,note 如实更新。文档核实(2026-09-18,api-docs.deepseek.com 英文版)
deepseek-v4-flash/deepseek-v4-pro/deepseek-v4-flash-vision-exp,并注明用deepseek-v4-flash访问最新版本。Responses 文档示例写deepseek-flash(别名)。web_search / file_search / code_interpreter / computer_use / mcp全部标注为 Ignored,且「Unsupported parameters are silently ignored」。另注明 reasoning input item 的summary与encrypted_content不支持(plain-text content 合并进相邻 assistant message)、include与prompt_cache_key不支持(静默忽略)、previous_response_id不支持、store恒为 false。webSearch: .responsesTool保留未动(超出本 PR 范围,且文档可能滞后于服务行为),note 不写「服务端搜索」,改为「内置搜索待实测」。真实冒烟时第一优先验证项。.deepseek走.openAICompatible→GET /v1/models;无 key 探测https://api.deepseek.com/v1/models与/models均返回 401(端点存在,待带 key 实测返回清单)。怎么验证