Skip to content

Using kimi k2.6 on OpenCode go results in "reasoning_content is missing in assistant tool call message" error #4251

@DarkEden-coding

Description

@DarkEden-coding

What happened?

When using Kimi k2.6 on the OpenCode Go provider/plan any message chain with reasoning results in the following error after one agent message.

Error: 400 Error from provider: Provider returned error
{"error":{"message":"thinking is enabled but reasoning_content is missing in assistant tool call message at index
2","type":"invalid_request_error"}}

Steps to reproduce

  • Setup OpenCode Go plan
  • Ask pi to read some files with Kimi k2.6

Expected behavior

Kimi k2.6 would behave correctly and get the necessary provided previous reasoning content

Version

0.73.0

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions