@apple_test_src on X: every other agent has a reasoning-effort pick,
Kimi Code didn't. Kimi Code 2.x keeps its startup level in
config.toml's [thinking] table (read from @moonshot-ai/kimi-code 2.6.2's
source: ThinkingConfigSchema, persistModelSelection,
thinkingEffortFromConfig). The new "thinking" field writes it the way
Kimi's own /model does: off = enabled=false (effort kept), a level =
enabled=true + effort, Default removes both keys (and the table when
empty). Options come from the chosen model's support_efforts /
default_effort / capabilities, overrides first; "off" is left out for
an always_thinking model; unknown model or unreadable file gives
off/low/medium/high. A cold WSL place reads nothing (#3896). The legacy
Python kimi-cli gets on/off through its top-level default_thinking.
Run:
- Real Kimi Code 2.6.2 on mote, sandbox HOME and
KIMI_CODE_HOME, fake chat server, config written by this field's Set:
Default sent thinking {enabled, effort medium (model default)}, off
sent {type: disabled}, low and max sent those efforts.
- mica-run at bba704222 (rebased on fdf42299e): go vet ./internal/agent native,
GOOS=linux, GOOS=windows ok; go test -count=1 ./internal/agent
./internal/gui ok; gofmt clean.
- mica-run GUI: kimi-thinking (new), agy-effort, i18n-keys and the
agent-field / codex-default-effort / effort files, Chromium + WebKit,
en/zh/zh-TW/ja/de: 114/114 pass.
- Broken by hand: dropping override handling and leaving enabled behind
on Default turned TestKimiThinkingField red. The first version opened a
stopped distro's config and TestWSLColdPlaceOpensNothing went red; fixed.
Not run: the full go test ./... (mote and mica both had other sessions'
suites running), the legacy kimi-cli binary (its source only), a real
Moonshot account.