Skip to content
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

The API version for the o1 series models of Azure OpenAI is unavailable. #13012

Closed
5 tasks done
Moiyu1998 opened this issue Jan 24, 2025 · 2 comments
Closed
5 tasks done
Labels
🐞 bug Something isn't working

Comments

@Moiyu1998
Copy link

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.15.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image

The API version for the o1 series models of Azure OpenAI now only supports versions from 2024-12-01-preview onwards. Please add new API versions to accommodate the use of the o1 series models. Thank you.

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

@dosubot dosubot bot added the 🐞 bug Something isn't working label Jan 24, 2025
Copy link

dosubot bot commented Jan 24, 2025

I found a similar unsolved discussion titled Add Azure OpenAI Model Provider Failed, which might be related to your issue [1].

Regarding your issue, the current implementation in Dify specifies several API versions for Azure OpenAI models, but it seems the version "2024-12-01-preview" is not yet included. The API versions are configured in the azure_openai.yaml file, which allows for multiple API version options [2][3]. To support the o1 series models, you would need to add the "2024-12-01-preview" version to this configuration file.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@crazywoola
Copy link
Member

This is bug report template, please search existing issue before posting one. Thanks. :)

Duplicated #12988

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants