Open vinnymac opened 2 weeks ago
Hi @vinnymac. Thanks for reaching out! Yeah I agree the error message is confusing in this case. One thing to double check, are you setting the API version to 2024-09-01-preview as mentioned in the docs?
This issue doesn't seem to be an SDK issue given that calls to OpenAI work fine. I would encourage you to open an Azure support ticket. To open a support ticket, please refer to the guide here. In the meantime, please feel free to reach out if you have any other questions!
Yes the API version is set to 2024-09-01-preview.
I am meeting with a support representative tomorrow, if I learn anything I’ll report back here.
EDIT: Meeting got pushed back, but looking forward to discussing this issue with technical support more soon.
Is your feature request related to a problem? Please describe. I have access to
o1-preview
models on azure, but cannot use them withopenai
and@azure/openai/types
.Describe the solution you'd like When using the chat completion API I expect to be able to use the latest
o1-preview
model. Instead I receive an error:Note: I do not have a "system" role defined. Here is my messages array:
Additionally the
o1-preview
models do not appear to be compatible withrole_information
, and return another error:Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Not using Azure OpenAI, but instead using OpenAI directly works just fine.
Additional context Add any other context or screenshots about the feature request here.
In case it helps the requestid is
23238976-bcd7-40e4-97cc-a97404e33545
.