Isanti2016/dsh-quicksight ↗★ 0
dsh-quicksight
Two-tier image reading for text-only models in DeepSeek Harness: fast local OCR (RapidOCR, offline) first, then a vision model via modlens as fallback.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Isanti2016/dsh-quicksight说明文档
阅读完整 README ↗配置
插件配置项(在 profile 的 cordis.patch.yml 里给插件传参,或通过环境变量):
| 配置键 | 环境变量 | 默认值 | 说明 |
|---|---|---|---|
toolName | QUICKSIGHT_TOOL_NAME | quicksight_ocr | 注册的工具名 |
minChars | — | 20 | Tier-1 视为成功的文字阈值(字符数) |
ocrPython | QUICKSIGHT_OCR_PYTHON | ~/.dsh/tools/ocr-venv/{Scripts|bin}/python | 装有 rapidocr 的 Python 解释器 |
modlensCli | QUICKSIGHT_MODLENS_CLI | ~/.dsh/profiles/web/node_modules/@liustack/modlens/dist/main.js | modlens CLI 入口 |
modlensEnabled | — | true | 是否启用 Tier-2 回落 |
timeoutMs | — | 120000 | 单次识别超时(毫秒) |