deepseek-harness/docs/user/guide
Yichen Jiang 94289d057e fix(llm-pi-ai): let a model declare the request modalities it accepts
A model the installed pi-ai catalog does not describe was reported as
text-only with no way to say otherwise, so a vision model added through
the custom-provider form was refused at every image admission point.
The justification in the source described the DeepSeek chat-completions
serializer, which does reject image blocks; the pi-ai request converter
and every wire protocol it speaks carry images.

Modalities now resolve entry `input` -> installed catalog entry -> route
`defaultInput`, the chain the two capacity fallbacks already use, so the
route value is a fallback and never narrows a catalog model. Its default
stays `[text]`: nothing can interrogate a gateway for its modalities, and
over-claiming admits an image the provider rejects mid-turn, after prompt
admission has already committed the message.
2026-08-12 16:18:52 +08:00
..
index.i18n.yaml docs: make Web UI the primary onboarding path 2026-08-12 11:44:33 +08:00
index.md docs: make Web UI the primary onboarding path 2026-08-12 11:44:33 +08:00
index.zh.md docs: make Web UI the primary onboarding path 2026-08-12 11:44:33 +08:00
providers-custom-form.png docs(user): show the Models page in the provider guide 2026-08-06 19:58:31 +08:00
providers-custom-form.zh.png docs(user): show the Models page in the provider guide 2026-08-06 19:58:31 +08:00
providers-models-page.png docs(user): show the Models page in the provider guide 2026-08-06 19:58:31 +08:00
providers-models-page.zh.png docs(user): show the Models page in the provider guide 2026-08-06 19:58:31 +08:00
providers.i18n.yaml fix(llm-pi-ai): let a model declare the request modalities it accepts 2026-08-12 16:18:52 +08:00
providers.md fix(llm-pi-ai): let a model declare the request modalities it accepts 2026-08-12 16:18:52 +08:00
providers.zh.md fix(llm-pi-ai): let a model declare the request modalities it accepts 2026-08-12 16:18:52 +08:00
python-sdk.i18n.yaml Merge remote-tracking branch 'origin/master' into worktree/python-pypi-release-prep 2026-08-12 13:49:15 +08:00
python-sdk.md Merge remote-tracking branch 'origin/master' into worktree/python-pypi-release-prep 2026-08-12 13:49:15 +08:00
python-sdk.zh.md Merge remote-tracking branch 'origin/master' into worktree/python-pypi-release-prep 2026-08-12 13:49:15 +08:00