Skip to content

[BUG] Kimi K2 Thinking doesn't work very well with Chutes.AI #9366

@NoobixCube

Description

@NoobixCube

Problem (one or two sentences)

There seems to be an issue with tool calls, prompts or API usage for Kimi K2 Thinking on Chutes.AI.
I can sometimes get good results using the model, but it seems sensitive to prompt wording or roo response.

I'm not sure if that means we need to call tools a different way or what.

It sounds like Roo Code online and OpenRouter already know how to properly use this model so we just need to follow that approach.

Image

Context (who is affected and when)

I assume anyone trying to use Kimi K2 Thinking through chutes.ai will be affected.

Reproduction steps

Using the Roo Code VS code extension, select Chutes.AI as a provider and Kimi K2 Thinking as the model.
Generate a request from a mode similar to Orchestrator and I would expect the error to occur again.
Typically this manifests in a "retry" prompt from Roo Code.

Expected result

Roo takes my prompt and uses Kimi K2 Thinking to generate a result

Actual result

Roo takes my prompt and I end up in an endless chain of "retry" prompts but can see the Kimi K2 Thinking output which appears to be the next step.

Variations tried (optional)

No response

App Version

Version: 3.32.1

API Provider (optional)

Chutes AI

Model Used (optional)

Kimi K2 Thinking

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Roo said
I'll help you upgrade the TeamSelect scene by analyzing both scenes and creating a comprehensive plan. Let me start by exploring the codebase to find these scenes.  <|tool_calls_section_begin|>   <|tool_call_begin|>   functions.codebase_search:12  <|tool_call_argument_begin|>  {"query": "TeamSelect scene", "path": "ouroboros"}  <|tool_call_end|> <|tool_calls_section_end|>


API Request
$0.0000


Roo said
I'll help you upgrade the TeamSelect scene by analyzing both scenes and creating a comprehensive plan. Let me start by exploring the codebase to find these scenes.  <|tool_calls_section_begin|> <|tool_call_begin|>  functions.codebase_search:13 <|tool_call_argument_begin|> {"query": "TeamSelect scene", "path": "ouroboros"} <|tool_call_end|> <|tool_calls_section_end|>


API Request
$0.0000


Roo said
I'll help you upgrade the TeamSelect scene by analyzing both scenes and creating a comprehensive plan. Let me start by exploring the codebase to find these scenes.  <|tool_calls_section_begin|>   <|tool_call_begin|>   functions.codebase_search:14  <|tool_call_argument_begin|>  {"query": "TeamSelect scene", "path": "ouroboros"}  <|tool_call_end|> <|tool_calls_section_end|>


Roo is having trouble...
This may indicate a failure in the model's thought process or inability to use a tool properly, which can be mitigated with some user guidance (e.g. "Try breaking down the task into smaller steps").


API Request
$0.0000

I'll help you upgrade the TeamSelect scene by analyzing both scenes and creating a comprehensive plan. Let me start by exploring the codebase to find these scenes.  <|tool_calls_section_begin|> <|tool_call_begin|>  functions.codebase_search:15 <|tool_call_argument_begin|> {"query": "TeamSelect scene", "path": "ouroboros"} <|tool_call_end|> <|tool_calls_section_end|>


API Request
$0.0000


Roo said
I'll help you upgrade the TeamSelect scene by analyzing both scenes and creating a comprehensive plan. Let me start by exploring the codebase to find these scenes.  <|tool_calls_section_begin|>   <|tool_call_begin|>   functions.codebase_search:15  <|tool_call_argument_begin|> {"query": "TeamSelect scene", "path": "ouroboros"}  <|tool_call_end|> <|tool_calls_section_end|>


API Request
$0.0000


Roo said
I'll help you upgrade the TeamSelect scene by analyzing both scenes and creating a comprehensive plan. Let me start by exploring the codebase to find these scenes.   <|tool_calls_section_begin|> <|tool_call_begin|>  functions.codebase_search:16 <|tool_call_argument_begin|> {"query": "TeamSelect scene", "path": "ouroboros"} <|tool_call_end|> <|tool_calls_section_end|>


API Request
$0.0000


Roo said
I'll help you upgrade the TeamSelect scene by analyzing both scenes and creating a comprehensive plan. Let me start by exploring the codebase to find these scenes.   <|tool_calls_section_begin|>   <|tool_call_begin|>   functions.codebase_search:17 <|tool_call_argument_begin|> {"query": "TeamSelect scene", "path": "ouroboros"} <|tool_call_end|> <|tool_calls_section_end|>


API Request
$0.0000


Error
Unexpected API Response: The language model did not provide any assistant messages. This may indicate an issue with the API or the model's output.


API Request
$0.0000

Rate limiting for 1 seconds...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions