[PR #12089] feat: add kimi-2.5 thinking support #14063

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

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

State: closed
Merged: No


What does this PR do?

Fixes #12090
This PR adds thinking support for Kimi 2.5 models by enabling the thinking capability and mapping interleaved reasoning content for the k2p5 / kimi-k2.5 provider IDs under the OpenAI-compatible API. It also removes the temporary k2p5 fallback in the availability check now that the mapping is handled explicitly. This works because Kimi 2.5 exposes its reasoning stream via reasoning_content, and the provider supports the thinking flag, so the transformation now passes the correct options to the backend.

How did you verify your code works?

tested locally.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12089 **State:** closed **Merged:** No --- ## What does this PR do? Fixes #12090 This PR adds thinking support for Kimi 2.5 models by enabling the thinking capability and mapping interleaved reasoning content for the k2p5 / kimi-k2.5 provider IDs under the OpenAI-compatible API. It also removes the temporary k2p5 fallback in the availability check now that the mapping is handled explicitly. This works because Kimi 2.5 exposes its reasoning stream via reasoning_content, and the provider supports the thinking flag, so the transformation now passes the correct options to the backend. ## How did you verify your code works? tested locally.
yindo added the pull-request label 2026-02-16 18:18:52 -05:00
yindo closed this issue 2026-02-16 18:18:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14063