Repository navigation
FIX replace the retired o4-mini in PLATFORM_OPENAI_RESPONSES_MODEL of .env_example - #3776
Merged
Merged
Conversation
… .env_example OpenAI retired o4-mini on 2026-10-23, so a Responses target configured from the template against api.openai.com returns a model-not-found error. Point the entry at gpt-5.6-terra. The Azure entries are deployment names and are left unchanged.
Roman Lutz (romanlutz)
approved these changes
Nov 4, 2026
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The example changes both Azure values despite the platform-only scope, potentially selecting a different Azure deployment for users copying the configuration.
1 open issue
What changed in this PR
Updates the example Responses API configuration to replace the platform model reported as retired.
Changes:
- Changes
PLATFORM_OPENAI_RESPONSES_MODELfromo4-minitogpt-5.6-terra. - Also changes the Azure deployment and underlying-model examples, despite the description stating they remain unchanged.
| File | Description |
|---|---|
.env_example |
Updates platform and Azure Responses model configuration examples. |
Review effort: Balanced
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.

Description
Replace
o4-miniwithgpt-5.6-terrain the platform and Azure Responses configuration examples in.env_example. OpenAI's deprecation notice lists the API shutdown ofo4-minion October 23, 2026 and recommendsgpt-5.6-terra. The OpenAI model documentation confirms Responses API support.The Azure deployment-name and underlying-model examples are also updated to
gpt-5.6-terra, which Microsoft documents as supporting Responses.AZURE_OPENAI_RESPONSES_MODELremains a deployment name: users must replace the example with the name of their own Azure deployment, which can differ fromAZURE_OPENAI_RESPONSES_UNDERLYING_MODEL. This changes the example only, not existing user configuration files.The variables are consumed by
pyrit/setup/initializers/targets.pyandtests/integration/targets/test_targets_and_secrets.py. The defaultOPENAI_RESPONSES_MODELalias remains unchanged.Tests and Documentation
git --no-pager diff --check --no-ext-diff --no-textconv d0ba689ee4d53e309e3194af346c32354ec7f1cf..HEAD -- .env_example: passed at head27911b423c611e2d439a2e3f3ac50f522538bd64.This change was prepared with an AI coding assistant (Claude Code) and submitted by Alex Castillo González.