为什么不允许直接输入图片和其他文档? #1277
Answered
by
SPYQWER1
CodeMasterYi
asked this question in
Q&A
为什么不允许直接输入图片和其他文档?
#1277
|
非要我写文档路径才行。比如,我把图片拖入,告诉我切换模型,但是我有插件可以识图啊,我会用 |
Answered by
SPYQWER1
Aug 14, 2026
Replies: 3 comments
0 replies
Answer selected by
CodeMasterYi
|
拖图片被拒是因为当前模型没声明「视觉」模态(input 要包含 image)。dsh 不会替你把图片转文本,所以要么:
视觉插件和配置都在:https://dshbase.com/plugins/directory/ |
0 replies
|
你说的“插件能识图,但 Web 在入口就把图片拒绝”是关键:只注册一个识图工具还不够,图片必须先通过模型路由的 modality 准入。 pi2dsh 现在给文本 route 自动派生一个 dsh plugin --profile web add pi2dsh@0.11.0
dsh plugin --profile web add @kassing/pi-vision
export VISION_BRIDGE_BASE_URL=https://openrouter.ai/api/v1
export VISION_BRIDGE_MODEL=qwen/qwen2.5-vl-72b-instruct
export VISION_BRIDGE_API_KEY=your-openrouter-key
dsh web启动后在模型选择器里选原 route 对应的 项目与复现材料: https://github.com/weijiafu14/pi2dsh |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/loudMore/dsh-drop-to-path,有作者开发了插件,可以看下。