Skip to content

[BUG] Missing parameter "thinking" #11395

@kawayi12318

Description

@kawayi12318

Problem (one or two sentences)

When the API provider sets the default value of the parameter "thinking" as "disabled", an error occurs after enabling the "Enable Reasoning Effort" option: OpenAI completion error: 400 Invalid combination of reasoning_effort and thinking type: high + disabled

Context (who is affected and when)

No matter which option you select for "Enable Reasoning Effort", an error will occur.

Reproduction steps

  1. Model: ark-code-latest
  2. Base URL: https://ark.cn-beijing.volces.com/api/coding/v3
  3. Enable Reasoning Effort: high

Expected result

thinking

Actual result

error

Variations tried (optional)

No response

App Version

v3.47.3

API Provider (optional)

None

Model Used (optional)

No response

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions