Bug: adopted vision models lose input modalities during discovery (MODEL_DOES_NOT_SUPPORT_IMAGES) #3226
Replies: 3 comments
|
核验通过(对照 main/master HEAD 1. 现象链路成立。 2. 根因细分(一处修正):不是类型不支持,而是两处实现没填充 + 客户端采纳丢弃。
所以修复 = 四处贯通:① readListing 读模态;② 目录短路透传 installed entry 的 3. 补丁范围建议: 若 endpoints 的 4. 回归测试形状: 参照 需要的话,我可以按之前的惯例拉你的分支做独立验证 + 跑相关包测试,然后贴结果。 |
|
更正我上一条回复中的一处错误(核验时把两个接口混淆了,向作者和读者致歉):
独立验证已完成(拉取 Ricardo-M-L/fix/discovered-model-modality 631eecc,rebase 到 main 99f6f02 后逐处核对):
已登记 zoahdev upstream patch queue(dsh-docs #46)。PR 通道开放时可 cherry-pick。 |
|
I reproduced the same user-visible failure with I preserved @Ricardo-M-L's propagation fix as the first, separately attributed commit and added a follow-up for this gateway response shape:
The follow-up:
Validation passed:
I am posting a fork branch rather than opening a PR because the current |
Uh oh!
There was an error while loading. Please reload this page.
Summary
When a model is adopted through the settings page's fetch action, it loses its input-modality declaration. The discovery reply and wire view carry only
id/name/contextWindow/maxTokens, and adoption writes noinputfield — so a vision model (e.g. Kimi K3 behind a custom route) materializes with the route fallback['text'], and every image prompt is refused withMODEL_DOES_NOT_SUPPORT_IMAGES.Root cause
LlmDiscoveredModeland thellm.discoverModelswire view don't exposeinputModalities.inputfield.Proposed fix
I have a working fix on a fork branch (9 files, +65/−3):
https://github.com/Ricardo-M-L/deepseek-harness/tree/fix/discovered-model-modality
inputModalitiesthrough model discovery and the wire view.I understand external PRs aren't accepted right now, so I'm reporting here for visibility. Happy to open a PR whenever the repo accepts them.
All reactions