Repository navigation
Commit c65ab7d
authored
fix(catalog): align attachment flag with modalities for kimi-k2.5 and grok-code (#5793)
* fix(moonshotai): align kimi-k2.5 attachment flag with its own modalities
The provider entry sets attachment=false while its [modalities] declares
image+video input, its lab entry (models/moonshotai/kimi-k2.5.toml) sets
attachment=true, and Moonshot's official model list documents kimi-k2.5 as
supporting 'visual and text input'. Per the catalog convention (attachment
derived from non-text input modalities) and the provider-file override-only
rule, attachment must be true.
Consumers (e.g. OpenCode) read this flag to gate image attachments; the
current value blocks image input for a vision-capable model (see
anomalyco/opencode#23427).
* fix(opencode): disable attachment flag for text-only grok-code
grok-code (xAI Grok Code Fast 1) accepts text input only, but its entry
sets attachment=true. Per the catalog's derivation convention (attachment
from non-text input modalities) the flag must be false; the current value
makes consumers offer attachment flows that cannot succeed. Entry is
already status=deprecated; no other fields touched.
---------
Co-authored-by: jarvislee90s-dot <[email protected]>1 parent d9c9e0f commit c65ab7d
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments