test: replace deprecated gpt-5-codex with gpt-5.3-codex - #34520
Merged
yuneng-berri merged 2 commits intoJul 24, 2026
Merged
Conversation
…itellm_/replace-gpt5-codex-test-27520b
Contributor
Greptile SummaryUpdates the live OpenAI Codex reasoning test to use the supported
Confidence Score: 5/5The PR appears safe to merge because the replacement model is registered with the required capabilities and follows the existing OpenAI Codex routing path. The only change updates a live test’s model identifier, while repository metadata confirms that the replacement supports responses mode, reasoning, native streaming, and function calling.
|
| Filename | Overview |
|---|---|
| tests/llm_translation/test_openai.py | Replaces the deprecated Codex model in one live API test with a registered replacement that supports the capabilities exercised by the test. |
Reviews (1): Last reviewed commit: "Merge remote-tracking branch 'origin/lit..." | Re-trigger Greptile
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
ryan-crabbe-berri
approved these changes
Jul 24, 2026
yuneng-berri
merged commit Jul 24, 2026
74a87b5
into
litellm_internal_staging
75 of 76 checks passed
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.
TLDR
Problem this solves:
How it solves it:
Relevant issues
Linear ticket
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
@greptileaito re-request a review after pushing changes)Screenshots / Proof of Fix
The test itself is the end-to-end call: it streams a real chat completion against the live OpenAI API (no mocks, real $). Before, with the test file at the branch point 5e98e8f (model still gpt-5-codex):
After, at d6fd9d8 (this PR):
gpt-5.3-codex is a drop-in replacement per model_prices_and_context_window.json: responses-only mode, streaming, function calling and reasoning, same as the old entry
Type
✅ Test
Changes
One line in tests/llm_translation/test_openai.py: the model string in test_openai_gpt_5_codex_reasoning goes from gpt-5-codex to gpt-5.3-codex
Final Attestation