Skip to content

fix: change DeepSeek default aux model from deepseek-chat to deepseek-v4-flash - #54556

Open
ycj wants to merge 1 commit into
NousResearch:mainfrom
ycj:fix/deepseek-default-aux-model
Open

fix: change DeepSeek default aux model from deepseek-chat to deepseek-v4-flash#54556
ycj wants to merge 1 commit into
NousResearch:mainfrom
ycj:fix/deepseek-default-aux-model

Conversation

@ycj

@ycj ycj commented Jun 29, 2026

Copy link
Copy Markdown

Summary

Change the DeepSeek provider's default_aux_model from deepseek-chat (V3) to deepseek-v4-flash (V4).

Motivation

deepseek-v4-flash is a modern V4-generation model that offers:

  • Better capability than V3 (deepseek-chat)
  • Faster and cheaper than V4 Pro
  • Supports thinking mode natively

This makes it a better default for auxiliary tasks like context compression, vision fallback, and other side-jobs that use the provider's default model.

Changes

  • plugins/model-providers/deepseek/__init__.py: default_aux_modeldeepseek-v4-flash
  • tests/plugins/model_providers/test_deepseek_profile.py: update two test assertions to match

Test Plan

scripts/run_tests.sh tests/plugins/model_providers/test_deepseek_profile.py -q

→ 29 tests passed, 0 failed

…-v4-flash

deepseek-v4-flash is a modern V4-generation model that offers better
capability than V3 (deepseek-chat) while still being faster and cheaper
than V4 Pro. This makes it a better default for auxiliary tasks like
context compression and vision fallback.

- Update default_aux_model in DeepSeekProfile
- Update corresponding test assertions
Copilot AI review requested due to automatic review settings June 29, 2026 01:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the DeepSeek model-provider profile so Hermes’ auxiliary-task router (context compression, vision fallback, etc.) defaults to a newer V4-generation DeepSeek model instead of the legacy V3 model.

Changes:

  • Switch deepseek provider profile default_aux_model from deepseek-chat to deepseek-v4-flash.
  • Update DeepSeek provider-profile tests to assert the new default aux model value.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
plugins/model-providers/deepseek/init.py Changes DeepSeek default_aux_model to deepseek-v4-flash.
tests/plugins/model_providers/test_deepseek_profile.py Updates assertions (and test names) to match the new DeepSeek aux-model default.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have comp/plugins Plugin system and bundled plugins provider/deepseek DeepSeek API labels Jun 29, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

This was generated by AI during triage.

Related: #49169 (open) already changes default_aux_model to deepseek-v4-flash as part of a broader picker cleanup (trims _PROVIDER_MODELS['deepseek'] to the 2 real models and sets fallback_models=()). This PR is the narrow subset (default-only). Maintainer to pick which to merge.

@tonydwb tonydwb 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.

Code Review Summary

Verdict: LGTM

Simple, clean change — updates the default DeepSeek aux model from deepseek-chat to deepseek-v4-flash. Tests are updated to match. No security concerns.

Note: prior COMMENT review exists on this PR. This is a new formal review.


Reviewed by Hermes Agent

@teknium1 teknium1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the focused provider update. The changed profile field is the active auxiliary-model source: agent/auxiliary_client.py:448-455 resolves the registered profile's default_aux_model.

Problems

  • tests/plugins/model_providers/test_deepseek_profile.py:199 and :203 freeze a specific model identifier. These are change-detector assertions, contrary to the behavior-contract guidance in AGENTS.md:80-83 and AGENTS.md:1309-1356.

Suggested changes

  • Assert that _get_aux_model_for_provider("deepseek") equals deepseek_profile.default_aux_model, and that the profile default belongs to the curated DeepSeek catalog in hermes_cli/models.py:380-385, rather than pinning the model string twice.

Automated hermes-sweeper review.

def test_profile_advertises_deepseek_chat(self, deepseek_profile):
assert deepseek_profile.default_aux_model == "deepseek-chat"
def test_profile_advertises_deepseek_v4_flash(self, deepseek_profile):
assert deepseek_profile.default_aux_model == "deepseek-v4-flash"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This fixed model-name assertion is a change-detector snapshot. Please test the resolver/profile relationship instead (and, if useful, that the profile default is in the DeepSeek curated catalog) so routine model-default updates do not require rewriting this test.

@teknium1 teknium1 added sweeper:risk-compatibility Sweeper risk: may break existing users, config, migrations, defaults, or upgrades sweeper:blast-moderate Sweeper blast radius: moderate — a subsystem or single platform labels Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have provider/deepseek DeepSeek API sweeper:blast-moderate Sweeper blast radius: moderate — a subsystem or single platform sweeper:risk-compatibility Sweeper risk: may break existing users, config, migrations, defaults, or upgrades type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants