Add codex-auto-review to OpenAI default models#2951
Merged
Wei-Shaw merged 1 commit intoJun 6, 2026
Conversation
Contributor
|
All contributors have signed the CLA. ✅ |
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds the codex-auto-review model to the OpenAI default model list and introduces a regression test to ensure it remains included.
Changes:
- Added
codex-auto-reviewentry toDefaultModels - Added a unit test to verify
DefaultModelscontainscodex-auto-review
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| backend/internal/pkg/openai/constants.go | Adds codex-auto-review to the DefaultModels slice. |
| backend/internal/pkg/openai/constants_test.go | Adds a test ensuring DefaultModels includes codex-auto-review. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
Author
|
I have read the CLA Document and I hereby sign the CLA |
2b54f4f to
fd7758d
Compare
fd7758d to
2400613
Compare
Include codex-auto-review in the OpenAI fallback models list so /v1/models exposes it when no account mapping is configured. Keep the entry aligned with the existing default model catalog.
2400613 to
bd0b1ff
Compare
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
codex-auto-reviewto the OpenAI default/v1/modelsfallback catalogValidation
go test ./internal/pkg/openai ./internal/handler -run 'TestDefaultModelsContainsCodexAutoReview|TestGatewayModels'\n-make test-unit\n-git diff --check\n\n## Notes\n-golangci-lint run ./...was started locally with golangci-lint 2.11.4, but it ran for several minutes without output and was stopped; CI uses v2.9 and should provide the authoritative lint result.