You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9af3a7b
Browse filesBrowse the repository at this point in the historyBrowse files
fix(catalog): advertise image input for modalities-declared sidecar rows (#3105)
* fix(catalog): advertise image input for modalities-declared sidecar rows
The runtime vision gate (isModelTextOnly) covers models listed in noVisionModels OR declared text-only via modelInputModalities (upstream fde2a95, #1024), but both catalog advertise sites only checked noVisionModels. A sidecar-covered model - and every combo built from it - stayed advertised text-only in /v1/models, so the Codex app blocked image attachments client-side before the sidecar could run ('This model does not support image inputs').
Mirror isModelTextOnly in applyProviderConfigHints and the custom-model override: a declared text-only modelInputModalities entry now advertises image on top of its configured base. Discovery-derived text-only rows stay untouched (the runtime predicate does not cover those), and declared-image rows are never duplicated. Combos inherit the fix through their hinted members; no config hand-editing needed.
Update the three tests that encoded the old drift and add regressions for the hint pass, the custom-model override, and combo derivation.
(cherry picked from commit ed8f5a4)
* docs(sidecars): qualify combo image advertising with imageInput setting
(cherry picked from commit 77d614a)
* docs(sidecars): condition image description on sidecar plan availability
Addresses the open CodeRabbit review comments: state that description runs only when a vision sidecar plan is available (raw image stripped otherwise, no description attempted), and name the combo imageInput setting explicitly with sidecar-covered membership.
(cherry picked from commit 374139e)
* fix(vision): share sidecar consumer predicate
* docs(vision): align fallback and coverage wording
---------
Co-authored-by: x3M3x <[email protected]>
Copy file name to clipboardExpand all lines: docs-site/src/content/docs/ru/guides/sidecars.md
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,9 +80,14 @@ SSE-событие `response.failed`.
80
80
81
81
## Vision-сайдкар
82
82
83
-
Когда маршрутизируемая модель указана в `noVisionModels` своего провайдера, а запрос содержит
84
-
изображение, opencodex описывает каждое изображение **до** основного вызова и заменяет его текстом.
85
-
Если `visionSidecar.model` отсутствует или пуст, путь выполнения OpenAI, дашборд и API управления
83
+
Когда маршрутизируемая модель указана в `noVisionModels` своего провайдера — либо для неё в
84
+
`modelInputModalities` явно указана только текстовая модальность — и запрос содержит изображение,
85
+
opencodex описывает каждое изображение **до** основного вызова и заменяет его текстом, если доступен
86
+
план vision-сайдкара. Без доступного плана исходное изображение удаляется, а не передаётся текстовому
87
+
бэкенду. Каталог моделей объявляет вход изображений для каждой модели, покрытой сайдкаром. Комбо
88
+
объявляют вход изображений только если каждый участник принимает изображения нативно или через
89
+
сайдкар и параметр комбо `imageInput` не отключён; поэтому такие клиенты, как приложение Codex,
90
+
разрешают вложения вместо их блокировки до запуска сайдкара. Если `visionSidecar.model` отсутствует или пуст, путь выполнения OpenAI, дашборд и API управления
86
91
используют фолбэк `gpt-5.4-mini`. При запуске явно сохранённое устаревшее значение
87
92
`gpt-5.4-mini` по-прежнему мигрирует на `gpt-5.6-luna`; миграция применяется только к сохранённому
0 commit comments