Repository navigation
Bug: adopted vision models lose input modalities during discovery (MODEL_DOES_NOT_SUPPORT_IMAGES) #3226
Replies: 5 comments
|
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 |
|
这条已经被 @zoahdev 和 @nhype 核到很细了,我不重复。只补一件跨帖协调的事,因为它直接影响 @Ricardo-M-L 这个分支该改成什么形状。
|
|
一份"标签 vs 实测"的数据,供 BlockRun 网关
2026-08-30 仍失败的 6 个,失败形态都是用户付了钱才知道: 结论不是"删掉 fallback"(没有它很多网关的模型会一直模态未知),而是:端点显式声明的 |
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