Skip to content

fix(models): remove deprecated deepseek-chat and add redirect mechanism#26278

Open
ygd58 wants to merge 1 commit into
NousResearch:mainfrom
ygd58:fix/deepseek-deprecated-model-redirect
Open

fix(models): remove deprecated deepseek-chat and add redirect mechanism#26278
ygd58 wants to merge 1 commit into
NousResearch:mainfrom
ygd58:fix/deepseek-deprecated-model-redirect

Conversation

@ygd58

@ygd58 ygd58 commented May 15, 2026

Copy link
Copy Markdown
Contributor

Problem

deeseek-chat is no longer available in the DeepSeek API but still appeared in the model picker.

Better than #26271

  1. Removes deepseek-chat from picker
  2. Adds _DEPRECATED_MODEL_REDIRECTS dict for future deprecated models
  3. Shows clear redirect message instead of generic not found error

Fixes #26269

deepseek-chat is no longer available in the DeepSeek API (issue NousResearch#26269).
Previously it appeared in the /model picker but selecting it produced
a confusing 'model not found' error.

Changes:
1. Remove deepseek-chat from _PROVIDER_MODELS['deepseek']
2. Add _DEPRECATED_MODEL_REDIRECTS dict for future deprecated models
3. When a deprecated model is selected, show a clear redirect message
   instead of generic 'not found' error

_DEPRECATED_MODEL_REDIRECTS can be extended for future deprecations:
  'old-model-name': ('provider', 'new-model-name')

Fixes NousResearch#26269
@ygd58

ygd58 commented May 15, 2026

Copy link
Copy Markdown
Contributor Author

Note: #26280 also fixes this with a 1-line removal. This PR (#26278) additionally adds _DEPRECATED_MODEL_REDIRECTS — a reusable mechanism for future deprecated models that shows a clear redirect message instead of a generic not found error. Both fix the immediate issue; this one also prevents the same problem from recurring for future deprecated models.

@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
NishantEC

This comment was marked as outdated.

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

3 participants