dsh-image-size-guard:在網關請求體上限內保留長對話裏的歷史圖片
dsh-image-size-guard 是 DeepSeek Harness 社區插件,面向 agent2api 等網關的請求體上限(如 16 MiB)。它在超預算前測量真實請求體,批量用最舊歷史圖片的佔位文本替換圖片字節,終止當前嘗試並由 agent 重試,使後續請求落在低水位以下,同時通過 targetTurns、protectedTurns 等參數減少前綴 cache 被反覆擊穿。支持 Settings 面板與 YAML 按 provider 配置限額與開關,可與 dsh-compaction-image-offload 協同。安裝:dsh plugin --profile web add dsh-image-size-guard。
閱讀全文