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
{{ message }}
Azure OpenAI returned an unexpected error: 'max_tokens' is not supported with this model #31714
Error:
Request failed
Azure OpenAI returned an unexpected error.
Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.
Activity
linear-code commentedon Nov 3, 2026
CODE-97
ENG-3505
fix: route Azure OpenAI through the OpenAI client
fix: send max_completion_tokens to Azure OpenAI reasoning models (cod…