Skip to content

Error: Kimi-K2.5 (moonshot.ai) - 400 #11600

@jrialland

Description

@jrialland

Error Details

Model: kimi-k2.5 (moonshot.ai)
Provider: openai
Status Code: 400

Error Output

400 thinking is enabled but reasoning_content is missing in assistant tool call message at index 2

I discovered that a similar issue has been raised and fixed for deepseek models ( #10027 )

So changing my configuration to :

  - name: "Kimi-K2.5 (moonshot.ai)"
    provider: deepseek # workaround
    model: "kimi-k2.5"
    apiBase: https://api.moonshot.ai/v1
    apiKey: "<my api key>"
    capabilities:
      - tool_use
      - image_input
    roles:
      - chat
      - edit
      - autocomplete

Did work, but it is just a workaround : IMHO having a dedicated 'moonshot' provider with support for this style of tool calls would be great, or at least documenting the workaround somewhere

Metadata

Metadata

Labels

area:integrationIntegrations (context providers, model providers, etc.)kind:bugIndicates an unexpected problem or unintended behavior

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions