Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/model-providers/deepseek/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def build_api_kwargs_extras(
"deepseek-reasoner",
),
base_url="https://api.deepseek.com/v1",
default_aux_model="deepseek-chat",
default_aux_model="deepseek-v4-flash",
)

register_provider(deepseek)
8 changes: 4 additions & 4 deletions tests/plugins/model_providers/test_deepseek_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,12 +195,12 @@ class TestDeepSeekAuxModel:
system.
"""

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.


def test_consumer_api_returns_deepseek_chat(self):
def test_consumer_api_returns_deepseek_v4_flash(self):
from agent.auxiliary_client import _get_aux_model_for_provider
assert _get_aux_model_for_provider("deepseek") == "deepseek-chat"
assert _get_aux_model_for_provider("deepseek") == "deepseek-v4-flash"

def test_consumer_api_returns_non_empty(self):
from agent.auxiliary_client import _get_aux_model_for_provider
Expand Down