dsh-compact-selected-model: Use the currently selected model when compacting conversation summaries
2026-10-18
DeepSeek Harness plugin
DeepSeek
DSH plugin
dsh-compact-selected-model
Conversation Compression
Context Management
The DeepSeek Harness (DSH) plugin `dsh-compact-selected-model` is designed to address the issue where default compaction uses the model from the previous turn. After switching models in the Web UI, the plugin allows session compaction to be performed directly with the currently selected model. Installation requires a DSH version ranging from 0.1.7-rc.2 to 0.2.x. The plugin works by listening for events to intercept requests and supports both the `/compact` command and automatic compaction, though it has limitations in headless mode and automatic compaction threshold calculation.
Read More