[BUG] Unsupported parameter 'max_tokens' with o1-mini and o1-preview #42490
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
OpenAI
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
Describe the bug
When calling either o1-mini or o1-preview we can only set maxTokens on the ChatCompletionsOptions object however upon calling the model this error is returned
To Reproduce
Steps to reproduce the behavior:
Set maxTokens when calling o1-mini or o1-preview
Code Snippet
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: