diff --git a/packages/opencode/src/plugin/github-copilot/models.ts b/packages/opencode/src/plugin/github-copilot/models.ts index bf89f1c0dc2..3b8a62ea052 100644 --- a/packages/opencode/src/plugin/github-copilot/models.ts +++ b/packages/opencode/src/plugin/github-copilot/models.ts @@ -129,8 +129,8 @@ function build(key: string, remote: Item, url: string, prev?: Model): Model { // kilocode_change start - treat opus-4.8, fable, and sonnet-5 like opus-4.7 ...(model.api.id.includes("opus-4.7") || model.api.id.includes("opus-4.8") || - model.api.id.toLowerCase().includes("fable") || - /sonnet[.-]5/.test(model.api.id.toLowerCase()) + model.api.id.includes("fable") || + model.api.id.includes("sonnet-5") ? { display: "summarized" } : {}), // kilocode_change end