kimi-cli icon indicating copy to clipboard operation
kimi-cli copied to clipboard

When using custom anthropic format deepseek mode pressing TAB does not switch between deepseek-chat and deepseek-reasoner

Open isbafatima90-arch opened this issue 10 months ago • 4 comments

What version of Kimi CLI is running?

0.76

Which open platform/subscription were you using?

custom config.toml

Which model were you using?

deepseek-chat, deepseek-reasoner

What platform is your computer?

Linux 6.18.3-arch1-1 x86_64 unknown

What issue are you seeing?

When I update the CLI from 0.75 to 0.76 t his issue happened, before this was not there. THIS BUG/ISSUE DID NOT EXIST in 0.75 ONLY IN 0.76 IT IS HAPPENING! BEFORE THIS IT WAS CORRECT THIS GOT WORSE AFTER UPDATE!! UPDATE MEANS YOU MAKE THINGS BETTER NOT WORSE!

What steps can reproduce the bug?

pressing TAB

What is the expected behavior?

when we press TAB then it should change between deepseek-chat and deepseek-reasoner WHILE KEEPING THE CONTEXT! when I switch using the /model now it clears all context and is very unconvenient! this issue was NOT there please fix this is not nice.

Additional information

kimi is based in the deepseek-V3 architecture, you just should allow deepseek users to use the kimi cli, this shows respect to other model and is like free advertisement, please dont go down the claude code path who allow other models like kimi and deepseek but at what cost? thay consure too much tokens and model becomes waste, that is why i use kimi cli. guys dont ruin this dont Enshittification this with every update. this is a really good cli tool. this is my config:

Image Image

Image# DeepSeek Configuration with Valid Capabilities default_model = "deepseek-reasoner"

[providers.deepseek] type = "anthropic" base_url = "https://api.deepseek.com/anthropic" api_key = "sk-****e54e9997418faabb248f45fa07db"

DeepSeek Reasoner (thinking mode)

[models.deepseek-reasoner] provider = "deepseek" model = "deepseek-reasoner" max_context_size = 128000 max_tokens = 32000 capabilities = ["thinking"] # ✅ Only valid capability temperature = 0.0

DeepSeek Chat (non-thinking mode)

[models.deepseek-chat] provider = "deepseek" model = "deepseek-chat" max_context_size = 128000 max_tokens = 4000 capabilities = [] # ✅ Empty or just valid capabilities temperature = 1.3

Loop control settings

[loop_control] max_steps_per_turn = 100 max_retries_per_step = 3 max_ralph_iterations = 0

Tool call timeout

[mcp.client] tool_call_timeout_ms = 60000

isbafatima90-arch avatar Jan 12 '26 14:01 isbafatima90-arch

Thanks for the report. TAB is designed to toggle thinking mode on/off for the current model, not to switch between different models. This works well for models like Kimi that support both thinking and non-thinking modes. For DeepSeek, deepseek-reasoner and deepseek-chat are two separate models, not different modes of the same model. So TAB toggle doesn't apply here. The /model command does switch models but currently clears context - this could be improved.

xiaoju111a avatar Jan 12 '26 14:01 xiaoju111a

Thanks for the report. TAB is designed to toggle thinking mode on/off for the current model, not to switch between different models. This works well for models like Kimi that support both thinking and non-thinking modes. For DeepSeek, deepseek-reasoner and deepseek-chat are two separate models, not different modes of the same model. So TAB toggle doesn't apply here. The /model command does switch models but currently clears context - this could be improved.

deepseek is one single model 3.2 it supports both thinking and non thinking! but the api call is so that we can call between deepseek-chat and deepseek-reasoner to activate reasoning when needed

isbafatima90-arch avatar Jan 12 '26 15:01 isbafatima90-arch

will fix it.

xiaoju111a avatar Jan 12 '26 16:01 xiaoju111a

will fix it.

Thank you for listing, you are not AI, you sound human! keep up, lets end claude code with kimi cli!

isbafatima90-arch avatar Jan 12 '26 16:01 isbafatima90-arch