JK-LIL/dsh-compaction-current-model

JK-LIL★ 0JavaScript最后同步: 2026-08-19

在 GitHub 打开

DSH bundle: route manual /compact summarization to the frontend current model

README 摘要

@dsh-external/dsh-compaction-current-model DSH host bundle that fixes a manual-compaction model-selection bug for DeepSeek Harness 0.1.0-rc.7 : - Before the fix, /compact (手动压缩)summarization could use the session's last routed model even after the frontend model picker changed. - This plugin tracks the durable manual-compaction span ( compaction/start with turn: null ) and rewrites the summarization llm/stream to agentDefaultModel.currentSelection() — the model the frontend currently shows. Automatic compaction, ordinary chat requests, and frozen LLM requests are never rewritten. Install or from a local tarball: then restart the web profile and run /compact after switching models. Compatibility - Built against DeepSeek Harness 0.1.0-rc.7 (source mode or installed build). - Runtime-import-free: the plugin only calls the Cordis context and standard session/LLM events, so it has no package dependencies of its own. - If a future DSH version changes the compaction/start owner marker, llm/stream request shape, or agentDefaultModel , review this plugin before upgrading. Uninstall Verification From the plugin package: Runtime acceptance: start DSH web, switch the model picker to a model di…

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

分类