lilei0311/dsh-plugin-modality-fallback

lilei0311★ 0TypeScript最后同步: 2026-08-20

在 GitHub 打开

README 摘要

dsh-plugin-modality-fallback English 中文 A DeepSeek Harness ( dsh ) plugin. Route one request to a modality-capable fallback model instead of forcing the whole session onto a single model. The problem A dsh session (Agent) selects one provider / model for its entire lifetime. That single model may not accept every modality that shows up in the session's history — today that means images. Without this plugin: - The built-in read image tool refuses outright when the session's model does not declare image input: "switch to an image-capable model to read images." - ApiProxy refuses to send a message, or to switch models, when the session's history already contains an image the target model can't accept. Every one of these paths tells the user to manually switch the whole session to an image-capable model and back — losing the differentiated model choice they made for everything else in that conversation. What this plugin does It wraps dsh 's agent/request waterfall (the extension point dsh-agent-default-model 's own README documents as deferred: "per-session selection remains the entry point's responsibility" ). Before a request goes out: 1. It reads the session's derived message histor…

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

分类