feat: add DeepSeek V4 model identifiers#14891
Closed
zkl2333 wants to merge 2 commits into
Closed
Conversation
|
有办法临时绕过 normalization 逻辑吗?我设置使用 deepseek-v4-pro 结果给我改成 chat 了 |
Contributor
Author
|
Yes — I verified this against the current main-branch normalization behavior. On But using a custom OpenAI-compatible endpoint bypasses the DeepSeek-specific normalization and preserves the model id: So a temporary workaround before this PR lands is to configure DeepSeek as a custom OpenAI-compatible provider, for example: model:
provider: custom
default: deepseek-v4-pro
base_url: https://api.deepseek.com/v1Or, if using a named custom provider / custom_providers:
- name: deepseek-custom
base_url: https://api.deepseek.com/v1
key_env: DEEPSEEK_API_KEY
api_mode: chat_completions
model: deepseek-v4-proThe important bit is that the provider should be |
This was referenced Apr 24, 2026
2 tasks
Contributor
Author
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.
Summary
deepseek-v4-flashanddeepseek-v4-prodeepseek-chatanddeepseek-reasoneravailable for compatibility until 2026-07-24Source
deepseek-chatanddeepseek-reasonerare deprecated compatibility aliases fordeepseek-v4-flashnon-thinking/thinking modes.Verification
python -m pytest tests/hermes_cli/test_model_normalize.py tests/hermes_cli/test_models.py -q