feat(openai)!: rewrite plugin for 1.0#3419
Merged
Merged
Conversation
Contributor
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds OpenAI GPT-5.6 model-family entries to the OpenAI plugin’s predefined LLM model catalog, so the models appear in Dify’s model list with appropriate limits/capabilities and an updated plugin version.
Changes:
- Added YAML metadata for
gpt-5.6(alias) plusgpt-5.6-sol,gpt-5.6-terra, andgpt-5.6-luna. - Updated the LLM model ordering list to include the new GPT-5.6 entries.
- Bumped the OpenAI plugin manifest version to
0.4.4.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
| models/openai/models/llm/gpt-5.6.yaml | Adds the gpt-5.6 alias model definition (features/params/pricing). |
| models/openai/models/llm/gpt-5.6-sol.yaml | Adds GPT-5.6 Sol model definition. |
| models/openai/models/llm/gpt-5.6-terra.yaml | Adds GPT-5.6 Terra model definition. |
| models/openai/models/llm/gpt-5.6-luna.yaml | Adds GPT-5.6 Luna model definition. |
| models/openai/models/llm/_position.yaml | Inserts the new GPT-5.6 entries into the model ordering list. |
| models/openai/manifest.yaml | Bumps plugin version from 0.4.3 to 0.4.4. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
cqjjjzr
previously approved these changes
Jul 9, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
auto-merge was automatically disabled
July 9, 2026 21:30
Pull request was converted to draft
BREAKING CHANGE: OpenAI 1.0 defaults supported LLMs to the Responses API, removes deprecated model entries, and replaces the legacy test and runtime architecture.
crazywoola
approved these changes
Jul 10, 2026
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
Fixes #3418.
gpt-4o,gpt-audio-mini, andgpt-4o-mini-ttsaliases while retaining their still-current dated snapshots..env, redact them in pytest output, run automatically for a nonempty key, and dynamically skip otherwise..env.exampleand document the billable workflow in the README.Breaking changes
gpt-4o,gpt-audio-mini, andgpt-4o-mini-ttsaliases are no longer presented.Change Type
LLM Plugin Checklist
Areas affected by this change
Version
manifest.yamlandpyproject.tomlare 1.0.0.openai>=2.45.0anddify_plugin>=0.9.0are declared and locked.pytest-mock>=3.15.1is included in the development dependency group.Testing
.env:210 passed, 5 skipped.OPENAI_API_KEYand skip when the key is missing, empty, or whitespace-only.gpt-5,gpt-5-mini,o3, ando3-pro.uv run pytest --strict-markers tests/live -quv run ruff check .uv run ruff format --check .uv lock --checkgit diff --checkOfficial references