waveterm icon indicating copy to clipboard operation
waveterm copied to clipboard

[Bug]: OpenAI o3 not supported

Open RemiKalbe opened this issue 7 months ago • 0 comments

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
  • [x] I don't have time to fix this right now, but maybe later

RemiKalbe avatar May 19 '25 13:05 RemiKalbe