AL-spiritphoenix/dsh-auto-model

AL-spiritphoenix★ 1JavaScriptLast synced: 2026-08-14

Open on GitHub

README excerpt

dsh-auto-model English 中文 A DeepSeek Harness bundle that adds an Auto model option. When a session selects auto , the plugin classifies each turn with a small Flash call and routes it to deepseek-v4-flash (SIMPLE) or deepseek-v4-pro (COMPLEX). It is a plain-JavaScript bundle, so it installs straight from a git host with no build step. It uses only shipped core APIs and runs against an unmodified harness. Install Install into the web profile (the profile the dsh web command boots): From a local checkout: From GitHub: Then boot it: dsh web is the web profile's alias, so no --profile flag is needed. The model selector now lists Auto alongside Flash and Pro. The concrete model the router chooses is what the session log records in each request header. How it works - The plugin registers its own deepseek-auto provider route, whose listModels() returns the auto entry at runtime. The directory entry is therefore independent of llm-deepseek 's models config, so a settings.yaml override cannot hide it. - The plugin listens on the root agent/request waterfall (outside installModelSelection ) and rewrites auto — whichever provider carried it — to a concrete provider / model before dispatch. - …

View full README on GitHub →
Tools / Devdeepseek-harnessdsh-plugin

Category