dsh-continuation: Auto-Continuation of Truncated Model Responses
dsh-continuation is a DSH plugin that operates at the llm/stream layer, intercepting scenarios where a model response is truncated by max-tokens limits or upstream errors. By replaying the context and disabling the reasoning capability, it automatically completes the response while presenting a seamless single-completion experience to downstream consumers. It supports up to 3 rounds of continuation, on/off toggling, and multiple edge-case handling strategies.
Read More