Skip to content

fix: Remove unavailable deepseek-chat model from static provider list#26280

Closed
AllynSheep wants to merge 2 commits into
NousResearch:mainfrom
AllynSheep:fix/deepseek-chat-model-removal-clean
Closed

fix: Remove unavailable deepseek-chat model from static provider list#26280
AllynSheep wants to merge 2 commits into
NousResearch:mainfrom
AllynSheep:fix/deepseek-chat-model-removal-clean

Conversation

@AllynSheep

Copy link
Copy Markdown
Contributor

This PR fixes issue #26269 where users could see and select the deepseek-chat model in the TUI but got an error when trying to switch to it.

Problem

The deepseek-chat model was listed in the static _PROVIDER_MODELS["deepseek"] catalog, but it is no longer available in the actual DeepSeek API. This caused:

  1. Users to see deepseek-chat in the TUI model selection menu
  2. Error message when trying to switch to it: "Model deepseek-chat was not found in this provider's model listing. Similar models: deepseek-v4-flash, deepseek-v4-pro"

Root Cause

The static model catalog in hermes_cli/models.py contained outdated model names that don't match the current DeepSeek API offering.

Solution

Removed deepseek-chat from the _PROVIDER_MODELS["deepseek"] list, keeping only the currently available models:

  • deepseek-v4-pro
  • deepseek-v4-flash
  • deepseek-reasoner

Changes

  • hermes_cli/models.py: Removed deepseek-chat from the deepseek provider's static model list (1 line change)

Testing

Verified that the fix works correctly:

  • deepseek-chat no longer appears in the static model list
  • The remaining models (deepseek-v4-pro, deepseek-v4-flash, deepseek-reasoner) are still available
  • Users will no longer see the unavailable model in the TUI menu

Impact

This is a minimal, focused fix that only touches the model catalog. It removes a model that was already unavailable from the API, so there's no functional regression - users simply won't see an option that didn't work anyway.

Fixes #26269

The deepseek-chat model is no longer available in the DeepSeek API,
but it was still listed in the static _PROVIDER_MODELS catalog.
This caused users to see the model in the TUI menu but get an error
when trying to switch to it.

This fix removes deepseek-chat from the deepseek provider's static
model list, keeping only the currently available models:
- deepseek-v4-pro
- deepseek-v4-flash
- deepseek-reasoner

Fixes NousResearch#26269
Add allynsheep@users.noreply.github.com to the AUTHOR_MAP in
scripts/release.py to fix the check-attribution CI failure.
@alt-glitch alt-glitch added type/bug Something isn't working comp/cli CLI entry point, hermes_cli/, setup wizard provider/deepseek DeepSeek API P3 Low — cosmetic, nice to have labels May 15, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Competing with #26278 which addresses the same deepseek-chat removal but also adds a _DEPRECATED_MODEL_REDIRECTS mechanism for future model deprecations. Both fix #26269.

@AllynSheep

Copy link
Copy Markdown
Contributor Author

Closing this PR in favor of #26278, which provides a more comprehensive solution that not only removes deepseek-chat but also adds a _DEPRECATED_MODEL_REDIRECTS mechanism for future model deprecations.

@AllynSheep AllynSheep closed this May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard P3 Low — cosmetic, nice to have provider/deepseek DeepSeek API type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: switch Model deepseek-chat report error

2 participants