1jehuang / 1jehuang/jcode

Kimi Code provider: expose reasoning effort / thinking control (K3 low/high/max, K2.7 thinking toggle)

Open
#868 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

autonomous: no enhancement triage: needs-decision
Dominant language
Rust
Stars
19.9k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
30

Description

The Kimi Code provider (kimi, OpenAI-compatible profile, https://api.kimi.com/coding/v1, default model kimi-for-coding) currently offers no way to control reasoning effort in jcode.

Per Kimi's official docs, the current models expose different thinking controls:

It would be great if jcode's effort selection worked for this provider:

  • Map jcode effort levels onto K3's reasoning_effort (e.g. low -> low, high -> high, xhigh/max -> max).
  • For K2.7, map the effort choice onto the thinking toggle (e.g. none -> thinking disabled, any effort level -> enabled).

Happy to help test. Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Kimi provider and jcode's effort-selection mapping; the issue identifies the kimi OpenAI-compatible profile and its API endpoint, but no files or tests. Confirm how K3 accepts reasoning_effort and how K2.7 represents its thinking toggle, then verify that each requested effort maps correctly for both model families.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
ai, api, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.