From b8b0b7b8db45805d23a162247a625bff2899141b Mon Sep 17 00:00:00 2001 From: Tony Yu <49832190+ysntony@users.noreply.github.com> Date: Wed, 2 Sep 2026 21:45:33 +0800 Subject: [PATCH] fix(kimi-for-coding): inherit attachment support for K3 models MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both k3 and k3-256k inherit from the moonshotai/kimi-k3 lab base, which already declares attachment = true, so per the repo's override-only rule the correct fix is to drop the stale attachment = false override rather than flip it. On the Kimi For Coding endpoint both models accept image input (k3 also accepts video), per Kimi Code's own subscription model catalog: k3 lists image_in and video_in, k3-256k lists image_in. The declared [modalities] already match this (k3 inherits text/image/video from the base; k3-256k declares text/image), so the inherited flag is now consistent with modalities — same class of fix as #5793. --- providers/kimi-for-coding/models/k3-256k.toml | 1 - providers/kimi-for-coding/models/k3.toml | 1 - 2 files changed, 2 deletions(-) diff --git a/providers/kimi-for-coding/models/k3-256k.toml b/providers/kimi-for-coding/models/k3-256k.toml index d28baff592d..2e7cd5d2d1f 100644 --- a/providers/kimi-for-coding/models/k3-256k.toml +++ b/providers/kimi-for-coding/models/k3-256k.toml @@ -6,7 +6,6 @@ base_model = "moonshotai/kimi-k3" name = "Kimi K3-256K" description = "256K-context version of Kimi K3, reducing token consumption for shorter coding sessions" -attachment = false [[reasoning_options]] type = "effort" diff --git a/providers/kimi-for-coding/models/k3.toml b/providers/kimi-for-coding/models/k3.toml index 3b31cf148db..dad0dadecd8 100644 --- a/providers/kimi-for-coding/models/k3.toml +++ b/providers/kimi-for-coding/models/k3.toml @@ -3,7 +3,6 @@ # output_config.effort = "low" | "high" | "max" # Cost is zeroed per this provider's subscription convention. base_model = "moonshotai/kimi-k3" -attachment = false [[reasoning_options]] type = "toggle"