Skip to content

Commit c65ab7d

Browse files
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

File tree

‎providers/moonshotai/models/kimi-k2.5.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description = "Earlier Kimi frontier model for long-context agents, coding, and
33
family = "kimi-k2"
44
release_date = "2026-01"
55
last_updated = "2026-01"
6-
attachment = false
6+
attachment = true
77
reasoning = true
88
structured_output = true
99
temperature = false

‎providers/opencode/models/grok-code.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description = "Legacy model retained for compatibility with older integrations"
33
family = "grok"
44
release_date = "2025-08-20"
55
last_updated = "2025-08-20"
6-
attachment = true
6+
attachment = false
77
reasoning = true
88
reasoning_options = []
99
temperature = true

0 commit comments

Comments
 (0)