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
Hey friends, after trying to invoke gpt_o3_mini via AzureChatOpenAI, I am getting a 400 error:
"code: unsupported_parameter; message: Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.", 'type': 'invalid_request_error', 'param': 'max_tokens', 'code': '-4003'}}
I've already tried updating the langchain-openai library. Is this a deprecated library issue, and how can i possibly override the implementation to fix it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
Hey friends, after trying to invoke gpt_o3_mini via AzureChatOpenAI, I am getting a 400 error:
"code: unsupported_parameter; message: Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.", 'type': 'invalid_request_error', 'param': 'max_tokens', 'code': '-4003'}}
I've already tried updating the langchain-openai library. Is this a deprecated library issue, and how can i possibly override the implementation to fix it?
System Info
Package Information
Beta Was this translation helpful? Give feedback.
All reactions