shuxu-zhao/dsh-image-dscriber ↗★ 0
dsh-image-describer
Giving text models eyes to see in DeepSeek Harness.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:shuxu-zhao/dsh-image-dscriber说明文档
阅读完整 README ↗⚙️ Configuration
Configure the plugin in your profile's cordis.patch.yml:
- insert:
- id: image-describer-tool
name: dsh-image-describer
inject: [tools, llm, attachments]
config:
provider: minimax-cn # Multimodal provider route
model: MiniMax-M3 # Vision model ID (must support image input)
maxTokens: 2048 # Max output tokens per description
timeoutMs: 60000 # Timeout in milliseconds
| Option | Type | Default | Description |
|---|---|---|---|
provider | string | minimax-cn | Vision model provider route (configure API key in settings.yaml) |
model | string | MiniMax-M3 | Vision model ID (must support image input) |
prompt | string | Chinese detailed prompt | Default prompt used when caller doesn't specify a specific question |
maxTokens | number | 2048 | Max output tokens per analysis |
timeoutMs | number | 60000 | Analysis timeout in milliseconds |
⚙️ 配置项说明
在 Profile 的 cordis.patch.yml 中进行声明或覆盖:
- insert:
- id: image-describer-tool
name: dsh-image-describer
inject: [tools, llm, attachments]
config:
provider: minimax-cn # 多模态提供方路由
model: MiniMax-M3 # 视觉模型 ID(必须支持图片输入)
maxTokens: 2048 # 单次图片分析的最大 Token 上限
timeoutMs: 60000 # 单次图片分析超时时间(毫秒)
| 配置字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
provider | string | minimax-cn | 视觉描述者 Provider 路由(需在 settings.yaml 中配置 API Key) |
model | string | MiniMax-M3 | 视觉描述者模型 ID(必须为支持图像输入的多模态模型) |
prompt | string | 中文详细描述模板 | 默认分析提示词模板(当调用方未指定具体问题时使用) |
maxTokens | number | 2048 | 单次图片分析的最大输出 Token 上限 |
timeoutMs | number | 60000 | 单次图片分析的超时时间(毫秒) |