mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #2476] Fix: Add temperature param for azure openai gpt-5.1 and gpt-5.2 if reasoning_effort is 'None' #2503
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-official-plugins/pull/2476
Author: @henry-fung
Created: 1/23/2026
Status: 🔄 Open
Base:
main← Head:fix/add-temperature-for-reasoning-none📝 Commits (1)
c32a802Add temperature param for azure openai gpt-5.1 and gpt-5.2 if reasoning_effort is set to none📊 Changes
2 files changed (+10 additions, -0 deletions)
View changed files
📝
models/azure_openai/models/constants.py(+8 -0)📝
models/azure_openai/models/llm/llm.py(+2 -0)📄 Description
Fix: Add temperature param for azure openai gpt-5.1 and gpt-5.2 if reasoning_effort is 'None'
Related Issues or Context
temperatureparameter is correctly passed to Azure OpenAI GPT-5.1 and GPT-5.2 models whenreasoning_effortis set to 'None', fixing unexpected behavior where temperature was ignored.This PR contains Changes to LLM Models Plugin
Version Control (Any Changes to the Plugin Will Require Bumping the Version)
VersionField, Not in Meta Section)Dify Plugin SDK Version
dify_plugin>=0.3.0,<0.6.0is in requirements.txt (SDK docs)Environment Verification (If Any Code Changes)
Local Deployment Environment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.