You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report but I cannot reproduce this issue, the following works for me
constassistant=awaitopenai.beta.assistants.create({model: 'gpt-4-1106-preview',name: 'Math Tutor',instructions: 'You are a personal math tutor. Write and run code to answer math questions.',});letassistantId=assistant.id;console.log('Created Assistant with Id: '+assistantId);constthread=awaitopenai.beta.threads.create({messages: [{role: 'user',content: '"I need to solve the equation `3x + 11 = 14`. Can you help me?"',},],});construn=awaitopenai.beta.threads.runs.create(thread.id,{model: 'o3-mini',reasoning_effort: 'medium',instructions: 'Some instructions.',assistant_id: assistant.id,});console.log(run);
I appreciate this is not very intuitive but when updating an asisstant to a model that doesn't support temperature you'll need to explicitly set it to null.
I've reported this to the API team to see if the behaviour here can be improved.
Confirm this is a Node library issue and not an underlying OpenAI API issue
Describe the bug
On o3-mini in Assistants API I get 400 Unsupported parameter: 'temperature' is not supported with this model.
There’s no way to remove this error as I think this is openai node npm sending the param.
To Reproduce
Just use o3-mini model and Assistants API.
Code snippets
OS
macOS
Node version
22.3.0
Library version
4.83.0
The text was updated successfully, but these errors were encountered: