waveterm
waveterm copied to clipboard
[Bug]: OpenAI o3 not supported
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
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