EmmanuelMartinez/tolten-image-attach0

@tolten/image-attach

DSH 输入框一键图片粘贴插件,支持自动切换至多模态视觉模型并在完成后恢复原模型。

AI 分析

核心用途是简化 DSH 的多模态交互流程,实现无缝的图片上传与视觉分析。适合经常需要向 AI 发送截图、设计图并希望自动路由视觉模型的用户。

包名
@tolten/image-attach
版本
0.1.0
许可证
MIT
最近更新
2026年9月10日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

🎛️ Configuration

Point it at whatever vision model your provider catalog exposes — edit the two constants at the top of plugin/client.js:

const VISION_MODEL = 'deepseek-v4-flash-vision-exp'
const VISION_PROVIDER = 'deepseek-official'

Your model must declare image input in the provider catalog (inputModalities: ["text", "image"]), or the request will be rejected.