chiyulogg-commits/deepseek-harness-sentence-reasoning

chiyulogg-commits★ 0TypeScriptLast synced: 2026-08-16

Open on GitHub

DeepSeek Harness 推理摘要逐句顯示版(一次一句完整句子)|Sentence-by-sentence reasoning summary streaming for DeepSeek Harness — 推理 逐句 摘要 reasoning sentence stream

README excerpt

DeepSeek Harness 推理摘要逐句顯示版(sentence-by-sentence)/Sentence-by-Sentence Reasoning Summary Edition 讓推理內容「逐句」呈現。 DSH Web GUI 的 Think 列摺疊摘要,streaming 期間一次顯示一個完整句子(未完成部分隱藏),結束後維持首行。 Sentence by sentence. While DSH streams its reasoning, the collapsed Think-row summary reveals one complete sentence at a time (partial sentences stay hidden), then settles on the first line when done. 基於 deepseek-ai/deepseek-harness 官方版本,僅加入「推理摘要逐句顯示」單一行為改動,不含其他修改。 A minimal edition of DeepSeek Harness with a single behavioral change: sentence-gated reasoning summaries. No other modifications. 特色 Features - streaming 期間 Think 摺疊摘要 一次顯示一個完整句子 ,未完成部分不顯示(不再逐字跳動) - 結束後摘要維持 首行 (與官方既有行為相容) - 新增純函式 lastCompleteSentence ( packages/client/ui-conversation/src/client/chat/reasoning-sentence-gate.ts ),句界規則見其 JSDoc - 同步更新 lifecycle-chrome e2e 斷言與 connection stress fixture(最後 chunk 以句號結束) - The collapsed Think-row summary reveals one complete sentence at a time while streaming; partial sentences stay hidden - After streaming ends, the summary settles on the first line (compatible with the official behavior) - New pure helper lastCompleteSentence ( packages/client/ui-conversation/src/client/chat/reasoning-sentence-gate.ts …

View full README on GitHub →
Skins / UIagentagent-harnessai-agentdeepseekdeepseek-harnessdshdsh-pluginharness

Category