Skip to content

[Bug]: Failed to stream openai-responses chat: openai 400 Bad Request: Unsupported value: 'low' is not supported #2775

@thnk2wn

Description

@thnk2wn

Current Behavior

Given the below config:

{
  "openai-gpt52-codex": {
    "display:name": "GPT-5.2 Codex",
    "display:order": 1,
    "display:description": "Feature dev, refactors, tests, code review-style diffs",
    "ai:provider": "openai",
    "ai:model": "gpt-5.2-codex",
    "ai:thinkinglevel": "medium"
  },
  "openai-o3": {
    "display:name": "o3 (Debug/Reasoning)",
    "display:order": 2,
    "display:description": "Deep debugging, logs → hypotheses, careful runbooks",
    "ai:provider": "openai",
    "ai:model": "o3"
  },
  "openai-gpt51-codex-mini": {
    "display:name": "GPT-5.1 Codex Mini",
    "display:order": 3,
    "display:description": "Fast/cheap coding iterations",
    "ai:provider": "openai",
    "ai:model": "gpt-5.1-codex-mini"
  },
  "openai-gpt52": {
    "display:name": "GPT-5.2 Chat",
    "display:order": 4,
    "display:description": "General chat: brainstorming, explanations, planning",
    "ai:provider": "openai",
    "ai:model": "gpt-5.2-chat-latest"
  }
}

Chats encounter error (any of the models):

Failed to post message: failed to stream openai-responses chat: openai 400 Bad Request: Unsupported value: 'low' is not supported with the 'gpt-5.2-codex' model. Supported values are: 'medium'. New Chat

Expected Behavior

Chats work or there's somewhere to set reasoning level in config

Steps To Reproduce

  1. Set the config as shown in current behavior
  2. Ensure OPEN AI KEY secret is set
  3. Activate AI chat and attempt to chat using one of the models

Wave Version

0.13.1 (202512170503)

Platform

macOS

OS Version/Distribution

No response

Architecture

arm64

Anything else?

No response

Questionnaire

  • I'm interested in fixing this myself but don't know where to start
  • I would like to fix and I have a solution
  • I don't have time to fix this right now, but maybe later

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNeeds triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions