Skip to content

thinking is enabled but reasoning_content is missing in assistant tool call message at index ... #25758

@jc01rho

Description

@jc01rho

Description

using 1.14.33, TUI, with opencode go, kimi-2.6 and deepseek-v4-pro,

kimi

Server: cloudflare\n\nBody:\n{\"error\":{\"message\":\"Error from provider: Provider returned error\",\"code\":400,\"metadata\":{\"raw\":\"{\\\"error\\\":{\\\"message\\\":\\\"thinking is enabled but reasoning_content is missing in assistant tool call message at index 13\\\",\\\"type\\\":\\\"invalid_request_error\\\"}}\",\"provider_name\":\"Moonshot AI\",\"is_byok\":true}},\"user_id\":\"user_2z4xm5LomaIHfsnVqMhFsWrVrGY\"}

deepseek

Server: cloudflare\n\nBody:\n{\"error\":{\"message\":\"Error from provider (DeepSeek): The `reasoning_content` in the thinking mode must be passed back to the API.\",\"type\":\"invalid_request_error\",\"param\":null,\"code\":\"invalid_request_error\"}}\n"

i think releated with
#24722
#23887

Plugins

omo

OpenCode version

1.14.33

Steps to reproduce

hard to reproduce it. sorry.

Screenshot and/or share link

No response

Operating System

windows 11, wsl ubuntu24

Terminal

windows terminal

Metadata

Metadata

Assignees

Labels

No labels
No labels

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