Skip to content

[BUG] [OpenAI completion error] Invalid combination of reasoning_effort and thinking type: medium + disabled #11001

@nicky-zs

Description

@nicky-zs

Problem (one or two sentences)

For the OpenAI Compatible Model, when reasoning effort is enabled and, for example, the "medium" model reasoning effort is selected, the LLM calling will fail:
OpenAI completion error: 400 Invalid combination of reasoning_effort and thinking type: medium + disabled

Context (who is affected and when)

For the OpenAI Compatible Model, when reasoning effort is enabled and, for example, the "medium" model reasoning effort is selected, the LLM calling will fail.

Reproduction steps

  1. OpenAI Compatible Model
  2. Enable Reasoning Effort
  3. "medium" or else
  4. volcengine: https://ark.cn-beijing.volces.com/api/coding/v3: ark-code-latest used.

Expected result

success LLM call

Actual result

OpenAI completion error: 400 Invalid combination of reasoning_effort and thinking type: medium + disabled

Variations tried (optional)

No response

App Version

3.43.0 (d8949f9)

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

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions