jackiesre721/dsh-hybrid-coder

jackiesre721★ 0TypeScript最后同步: 2026-08-21

在 GitHub 打开

README 摘要

@richie.liu/dsh-hybrid-coder English 中文 Dual-model routing policy plugin: a premium model plans and rescues, a local small model (e.g. a local Ollama instance) implements ordinary steps, and the route escalates back to premium automatically after consecutive local failures. This plugin is a routing policy , not a model transport: model requests still go out through the registered LLM adapters (e.g. @deepseek-ai/dsh-llm-deepseek , @deepseek-ai/dsh-llm-pi-ai ). It rewrites the target provider / model at each step's request assembly point and switches routes when the tool-failure chain crosses a threshold. Experimental status: public contracts may change and it is not shipped with official releases. Installation After publishing to npm, install it in the target profile with one command (the package's cordis.patch.yml declares dsh.bundle , so installing also activates it as a profile layer): Or enable it via a local tarball / overlay while developing (see "Local provider configuration (Ollama)" below). The bundled example config points at GLM + Ollama routes; override premium / local provider and model to match your environment. How it works A "step" is one model request plus the tool …

在 GitHub 查看完整 README →
工具/开发dsh-plugin

分类