-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Improvement] Add support for o1-preview and o1-mini OpenAI models #725
Comments
Seems like #630 |
Can you test the OpenAI api from
|
I apologize for the confusion. I received an email from OpenAI stating that I have access to the o1-mini, but a cURL request returned that it is not available for me yet. You can delete this. Thank you.
|
did you forget to replace the MODEL with the target model you want to test?
|
PS. I've pushed a commit that outputs the response body if the AI service returns an error code. |
My apologies. I did not use the correct model. A different error has now occurred.
|
Since the official OpenAI library is available for .NET 9, I'll try to refactor the AI integration. |
I found this:
I agree with you, I think that using the official OpenAI library is the best approach. |
I've pushed a branch
PS. I might not reply immediately because it's already 10pm in China... |
Unfortunately, I found that the OpenAI official library was not ready to publish with native aot mode... I'll modify the previous implementation for this issue tomorrow |
After playing a little bit with the current implementation using the OpenAI lib I got this error once.
|
…ew and o1-mini model (#725) Signed-off-by: leo <longshuang@msn.cn>
Done. You can download the latest CI build. |
I will follow up on the issue - openai/openai-dotnet#243 Once it is resolved, I will use OpenAI's official .NET library to replace the existing implementation |
OpenAI has offered API access to its o1-preview and o1-mini models for some time now. However, differences in API usage make the current implementation incompatible with these models, resulting in the error I've attached below.
The text was updated successfully, but these errors were encountered: