chat-ui
4c79f43f - Remove deprecated and underperforming models from catalog (#2398)

Commit
61 days ago
Remove deprecated and underperforming models from catalog (#2398) * chore(models): drop 15 models no longer on the router; refresh providers Remove model entries from prod.yaml/dev.yaml whose ids are no longer returned by router.huggingface.co/v1/models. These were dead overrides (models.ts only applies MODELS entries to ids present in the router response), so they never rendered. Removed: pearl-ai/Gemma-4-31B-it-pearl, zai-org/GLM-4.7-FP8, EssentialAI/rnj-1-instruct, moonshotai/Kimi-K2-Thinking, Qwen/QwQ-32B, deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B, katanemo/Arch-Router-1.5B, meta-llama/Llama-3.2-1B-Instruct, deepseek-ai/DeepSeek-R1-Distill-Qwen-32B, Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8, meta-llama/Meta-Llama-3-70B-Instruct, NousResearch/Hermes-2-Pro-Llama-3-8B, baidu/ERNIE-4.5-300B-A47B-Base-PT, Sao10K/L3-70B-Euryale-v2.1, deepseek-ai/DeepSeek-Prover-V2-671B. Bump @huggingface/inference 4.11.3 -> 4.13.21 so PROVIDERS_HUB_ORGS includes deepinfra and nvidia; deepinfra now serves many router models and its avatar/label was missing. This covers all 13 providers the router currently uses. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DnzEAqrEE7qdFtWhSpWG3G * docs(skill): teach add-model-descriptions to prune deprecated models Extend the model-sync skill to compare the router list against the config in both directions: missing (add) and deprecated (remove). Adds a scripted two-way diff, a new removal step, and guidance to exclude the synthetic router alias (omni) and to flag—not silently drop—deprecated ids still referenced by TASK_MODEL / LLM_ROUTER_* env vars. Documents that MODELS is an overrides map (models.ts only applies entries present in /v1/models), so pruning dead overrides is a no-op at runtime. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DnzEAqrEE7qdFtWhSpWG3G * docs(skill): rename add-model-descriptions to sync-models The skill now syncs the model config in both directions (add new models, prune deprecated ones), so "add-model-descriptions" no longer describes it. Rename the directory and the frontmatter name/heading to sync-models, and update the self-referential /add-model-descriptions trigger to /sync-models. No other files reference the old name. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DnzEAqrEE7qdFtWhSpWG3G * fix(models): restore two entries the router serves again pearl-ai/Gemma-4-31B-it-pearl and zai-org/GLM-4.7-FP8 were pruned against an earlier router snapshot, but the router now returns both again (verified against router.huggingface.co/v1/models). Since MODELS entries are overrides merged onto router-provided models, dropping them wouldn't hide these models — it would only strip their metadata (notably GLM-4.7-FP8's supportsReasoning flag). Re-add both in their original positions. The other 13 removed ids remain absent from the router. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DnzEAqrEE7qdFtWhSpWG3G --------- Co-authored-by: Claude <noreply@anthropic.com>
Author
Parents
Loading