momo-gen/deepseek-model-router

momo-gen★ 1JavaScript最后同步: 2026-08-14

在 GitHub 打开

README 摘要

DeepSeek Task Model Router (DSH Dynamic Plugin) English · 🌏 中文文档 A dynamic Cordis plugin for the DeepSeek Harness (DSH) that automatically routes each agent turn between DeepSeek models — simple tasks to deepseek-v4-flash , complex tasks to deepseek-v4-pro — and supports manual model / reasoning-effort selection. It runs on DSH's "dynamic Cordis plugin" mechanism: install it live, no restart required. Plugin ID: modelr-1 (session-scoped dynamic plugin; the pluginId is assigned by the Host). Features - Automatic per-task routing : intercepts every model request and picks the model + reasoning effort from the current turn's user input. - Manual selection : switch via the deepseek route tool or the model selector at the bottom-right of the composer. - Visual panel : a full "model router" control panel (auto/manual, model, effort) rendered inside the cordis run card. - Model discovery : discovers available models at startup via llm.listModels('deepseek-official') . Routing rules Task type Examples Model Effort Simple greetings, translation, summarization, quick Q&A deepseek-v4-flash off Complex (default) coding, refactoring, analysis, planning deepseek-v4-pro high Hard math proofs, al…

在 GitHub 查看完整 README →
Agent/智能体ai-agentcordisdeepseekdeepseek-harnessdsh-pluginjavascriptllmmodel-router

分类