Skip to content

[Bug]: OpenAI o3 not supported #2174

Open
@RemiKalbe

Description

@RemiKalbe

Current Behavior

I tried adding an AI Preset for o3 like so:

  "ai@openai-o3": {
    "display:name": "o3",
    "display:order": 1,
    "ai:*": true,
    "ai:apitype": "open_ai",
    "ai:model": "o3-2025-04-16",
    "ai:apitoken": "sk-proj-..........."
  }

but then in the chat, I get this error:

error calling openai API: this model is not supported MaxTokens, please use MaxCompletionTokens
Image

Expected Behavior

For it to work.

Steps To Reproduce

Create a new AI preset, I simply copied the examples from the documentation, and send a message.

Wave Version

v0.11.3

Platform

macOS

OS Version/Distribution

15.4.1

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