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
Hello @kelvintsim! I'm here to assist you with any bugs, questions, or contributions. Let's work together to resolve the issue you're experiencing.
The default temperature setting in the Dify codebase for Azure OpenAI models is indeed 0.0[1]. If you're encountering an error indicating that a temperature of 0 is unsupported by the model, you might need to adjust the default temperature setting to 1 for the specific models you're using, such as o1-preview or o1-mini.
To resolve this, you can manually change the temperature setting in the configuration to 1 through the user interface or by modifying the relevant configuration files if you're self-hosting. This should help avoid the "Bad Request Error" you're experiencing.
Self Checks
Dify version
0.10.2
Cloud or Self Hosted
Self Hosted (Docker), Self Hosted (Source)
Steps to reproduce
Apply Azure openAI o1-preview or Azure openAI o1-mini in agent

Default temperature is set to 0

✔️ Expected Behavior
Default temperature should be 1 to use o1-preview or o1-mini
❌ Actual Behavior
Default temperature is 0
The text was updated successfully, but these errors were encountered: