fix: add gpt-5.4 model series to Azure ChatOpenAI model list - #6648
Open
akshaykumaran705 wants to merge 1 commit into
Open
fix: add gpt-5.4 model series to Azure ChatOpenAI model list#6648akshaykumaran705 wants to merge 1 commit into
akshaykumaran705 wants to merge 1 commit into
Conversation
The azureChatOpenAI entry in models.json was not updated when PR FlowiseAI#6028 added gpt-5.4/gpt-5.4-pro/gpt-5.4-mini/gpt-5.4-nano to the regular chatOpenAI entry, so Azure OpenAI users have no way to select these models as Azure retires older ones. Fixes FlowiseAI#6411
Contributor
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gpt-5.4,gpt-5.4-pro,gpt-5.4-mini, andgpt-5.4-nanoto theazureChatOpenAIentry inpackages/components/models.jsonchatOpenAIentryProblem
PR #6028 added
gpt-5.4-mini/gpt-5.4-nano(and the rest of the gpt-5.4 series) to the regularchatOpenAImodel list, butmodels.jsonkeeps a separate model array forazureChatOpenAI, which was never updated. As a result, Azure OpenAI users have no way to select these models in the node dropdown, and given Azure's upcoming retirement of older models, this blocks users who need to migrate (see #6411).Change
Minimal, additive change — 4 new entries inserted into the existing
azureChatOpenAImodels array, in the same position/order used by thechatOpenAIlist:{ "label": "gpt-5.4-mini", "name": "gpt-5.4-mini", "input_cost": 0.00000075, "output_cost": 0.0000045 }No other files needed changes —
isReasoningModelOpenAI()inpackages/components/src/utils.tsalready classifiesgpt-5.4-*correctly via its genericgpt-5substring rule, so no logic changes were required, only the missing model-list entries.Test plan
packages/components/models.jsonvalidated as well-formed JSONFixes #6411