Skip to content

FIX replace the retired o4-mini in PLATFORM_OPENAI_RESPONSES_MODEL of .env_example - #3776

Merged
Roman Lutz (romanlutz) merged 2 commits into
microsoft:mainfrom
pcbeingused333:fix-c1190
Nov 4, 2026
Merged

Roman Lutz (romanlutz) merged 2 commits into
microsoft:mainfrom
pcbeingused333:fix-c1190

Conversation

@pcbeingused333

@pcbeingused333 alexcastgonz (pcbeingused333) commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Description

Replace o4-mini with gpt-5.6-terra in the platform and Azure Responses configuration examples in .env_example. OpenAI's deprecation notice lists the API shutdown of o4-mini on October 23, 2026 and recommends gpt-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_MODEL remains a deployment name: users must replace the example with the name of their own Azure deployment, which can differ from AZURE_OPENAI_RESPONSES_UNDERLYING_MODEL. This changes the example only, not existing user configuration files.

The variables are consumed by pyrit/setup/initializers/targets.py and tests/integration/targets/test_targets_and_secrets.py. The default OPENAI_RESPONSES_MODEL alias remains unchanged.

Tests and Documentation

  • git --no-pager diff --check --no-ext-diff --no-textconv d0ba689ee4d53e309e3194af346c32354ec7f1cf..HEAD -- .env_example: passed at head 27911b423c611e2d439a2e3f3ac50f522538bd64.
  • Static comparison confirmed exactly three model-value substitutions and the unchanged default alias.
  • All 28 required GitHub checks passed on that head. The existing build-and-test run still has an optional macOS job running; skipped PyPI jobs are not counted as passes.
  • No local runtime tests, live provider requests, or JupyText execution were run for this configuration-only change. Existing mocked unit tests do not establish provider model availability; the provider documentation above was checked directly.

This change was prepared with an AI coding assistant (Claude Code) and submitted by Alex Castillo González.

… .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.
@romanlutz Roman Lutz (romanlutz) self-assigned this Nov 4, 2026
Copilot AI balanced review requested due to automatic review settings November 4, 2026 05:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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_MODEL from o4-mini to gpt-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

Comment thread .env_example Resolved
@romanlutz
Roman Lutz (romanlutz) added this pull request to the merge queue Nov 4, 2026
Merged via the queue into microsoft:main with commit 77b88f5 Nov 4, 2026
61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants