Repository navigation
feat(openai): add GPT-6 models - #3918
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The implementation consistently applies the documented GPT-6 contracts and includes comprehensive regression coverage.
Review effort: Balanced
Findings: None
What changed in this PR
Adds GPT-6 Astra, Sol, and Luna support to the OpenAI plugin while updating dependencies and request handling.
Changes:
- Registers GPT-6 models with capabilities, limits, pricing, and documentation.
- Enforces GPT-6 reasoning, sampling, tool-calling, and token-parameter constraints.
- Updates plugin versions, dependencies, lockfile, and regression coverage.
| File | Description |
|---|---|
models/openai/README.md |
Documents GPT-6 support and constraints. |
models/openai/manifest.yaml |
Bumps plugin version. |
models/openai/pyproject.toml |
Updates project and SDK versions. |
models/openai/uv.lock |
Locks refreshed dependencies. |
models/openai/models/common_openai.py |
Normalizes GPT-6 parameters. |
models/openai/models/llm/chat.py |
Adds Chat-specific GPT-6 handling. |
models/openai/models/llm/responses.py |
Enables GPT-6 Responses reasoning support. |
models/openai/models/llm/gpt-6-astra.yaml |
Defines Astra metadata and pricing. |
models/openai/models/llm/gpt-6-sol.yaml |
Defines Sol metadata and pricing. |
models/openai/models/llm/gpt-6-luna.yaml |
Defines Luna metadata and pricing. |
models/openai/models/llm/_position.yaml |
Adds models to catalog ordering. |
models/openai/tests/test_chat.py |
Tests GPT-6 completion-token routing. |
models/openai/tests/test_catalog.py |
Validates GPT-6 catalog contracts. |
models/openai/tests/test_routing.py |
Covers reasoning and tool constraints. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
WH-2099
force-pushed
the
feat/openai-gpt-6
branch
from
September 22, 2026 19:53
00f716b to
471f037
Compare
WH-2099
force-pushed
the
feat/openai-gpt-6
branch
from
October 9, 2026 11:38
0b7a613 to
d8e25f0
Compare
6 tasks done
WH-2099
marked this pull request as ready for review
October 9, 2026 11:40
hjlarry
approved these changes
Oct 9, 2026
41tair
approved these changes
Oct 9, 2026
7 of 16 tasks
This branch was successfully deployed
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
Closes #3917.
Adds GPT-6 Astra, GPT-6 Sol, and GPT-6 Luna, with their official context/output limits, reasoning levels, capabilities, and standard API prices.
GPT-6 uses
max_completion_tokenswith Chat Completions and requests encrypted reasoning through the existing Responses path.Model-specific parameter handling removes unsupported sampling/logprob options when reasoning is enabled and rejects Astra
nonereasoning and unsupported Chat tool/reasoning combinations before sending a request.GPT-6 Chat requests accept the neutral
standard/autoreasoning defaults.SDK transport and tool-loop replay fixes are tracked in #4033 and draft PR #4035.
This model registration uses published dependencies and can be reviewed independently of that work.
Release Notes
Change Type
LLM Plugin Checklist
Version
manifest.yamland project versions to1.0.7.dify_plugin>=0.10.2,<0.11.0and locked the published0.10.2release.3.26.0, including the existing Decisions integration.Testing
uv run --frozen --python 3.12 pytest --ignore=tests/live -q— 317 passed.uv lock --check --offline, andgit diff --checkpassed.