[PR #12147] fix: ensure kimi-for-coding plan has thinking on by default for k2p5 #14086

Closed
opened 2026-02-16 18:18:54 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12147

State: closed
Merged: Yes


Add default thinking configuration for k2p5/kimi-k2.5 models when using @ai-sdk/anthropic or @ai-sdk/google-vertex/anthropic providers.

Changes

  • In ProviderTransform.options: Enable thinking by default for kimi-k2.5/k2p5 models when using anthropic SDK
  • Keeps the early return in variants unchanged - kimi and k2p5 still return empty variants

Context

This ensures thinking is enabled by default for kimi-k2.5 models without modifying the variant filtering logic. The variant filtering logic remains verbatim with upstream/dev.


Resolves #12088
Related #12090

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12147 **State:** closed **Merged:** Yes --- Add default thinking configuration for k2p5/kimi-k2.5 models when using @ai-sdk/anthropic or @ai-sdk/google-vertex/anthropic providers. ## Changes - In ProviderTransform.options: Enable thinking by default for kimi-k2.5/k2p5 models when using anthropic SDK - Keeps the early return in variants unchanged - kimi and k2p5 still return empty variants ## Context This ensures thinking is enabled by default for kimi-k2.5 models without modifying the variant filtering logic. The variant filtering logic remains verbatim with upstream/dev. --- Resolves #12088 Related #12090
yindo added the pull-request label 2026-02-16 18:18:54 -05:00
yindo closed this issue 2026-02-16 18:18:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14086