chore: update model-to-API mapping (2026-07-05)#5917
Conversation
- Add gpt-5-pro-* dated variant pattern (e.g. gpt-5-pro-2025-10-06) - Add o4-mini-deep-research-* dated variant pattern (e.g. o4-mini-deep-research-2025-06-26) - Update lastUpdated timestamp Both patterns were added to the OpenAI Python SDK (ResponsesModel) but were missing wildcard coverage for dated snapshot variants in the mapping file. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates the documentation model-to-endpoint mapping used by the project to describe which provider endpoint (OpenAI Responses vs Chat Completions, Anthropic Messages) is expected for particular model families.
Changes:
- Bumped
lastUpdatedtimestamp in the mapping reference. - Expanded OpenAI model patterns to include dated/snapshot variants for
gpt-5-pro-*ando4-mini-deep-research-*. - Clarified notes to mention dated variant examples.
Show a summary per file
| File | Description |
|---|---|
| docs/model-api-mapping.json | Updates documented model pattern coverage and refreshes the mapping timestamp. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/1 changed files
- Comments generated: 1
- Review effort level: Low
| "family": "gpt-5-codex/pro", | ||
| "patterns": ["gpt-5-codex", "gpt-5-pro"], | ||
| "patterns": ["gpt-5-codex", "gpt-5-pro", "gpt-5-pro-*"], | ||
| "endpoints": ["responses"], | ||
| "notes": "Responses API only for gpt-5-codex and gpt-5-pro (ResponsesOnlyModel)." | ||
| "notes": "Responses API only for gpt-5-codex and gpt-5-pro (ResponsesOnlyModel). Includes dated variants like gpt-5-pro-2025-10-06." |
|
@copilot address review feedback |
Done — |
|
✅ Copilot review passed with no inline comments. @github-actions[bot] Add the |
|
🔑 Smoke Copilot PAT PAT auth validated. All systems operational. ✅ |
|
✅ Smoke Claude passed |
|
✅ Smoke Copilot BYOK AOAI (Entra) completed. Copilot AOAI BYOK (Entra) mode operational. 🔓 |
|
✅ Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓 |
|
🔌 Smoke Services — All services reachable! ✅ |
|
📡 Smoke OTel Tracing completed. All tracing scenarios validated. ✅ |
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤 |
|
❌ Security Guard failed. Please review the logs for details. |
|
❌ Smoke Copilot BYOK AOAI (api-key) reports failed. AOAI BYOK (api-key) mode investigation needed... |
|
✅ Smoke Gemini completed. All facets verified. 💎 |
|
✅ Contribution Check completed successfully! |
|
✅ Build Test Suite completed successfully! |
|
Chroot tests failed Smoke Chroot failed - See logs for details. |
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (1 files)
Coverage comparison generated by |
|
@copilot fix failing ci check |
The |
|
Smoke Test: Copilot BYOK (Direct) Mode ✅ PASS
Running with COPILOT_PROVIDER_API_KEY forwarded to sidecar. Agent holds placeholder; real credential injected by api-proxy. Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
|
|
Thanks for the clear PR description and for keeping the runtime and docs mapping files in sync. One contribution-guideline item looks missing: CONTRIBUTING.md asks contributors to "Write tests for new functionality" under Contributing Code > Code Style, and repeats that PRs should "Include tests for new functionality" under Pull request requirements. Because these new wildcard patterns change model endpoint routing behavior, please add or update a test that covers the new dated IDs, such as gpt-5-pro-2025-10-06 and o4-mini-deep-research-2025-06-26, resolving to the Responses API. Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
|
Smoke Test: PAT Auth — PASS ✅
Auth mode: PAT (COPILOT_GITHUB_TOKEN) Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
|
Smoke Test: Services Connectivity
Overall: FAIL Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
|
Smoke Test: Claude Engine Validation
Overall Result: PASS Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
|
Smoke Test Results\n\n| Test | Status |\n|------|--------|\n| GitHub MCP Connectivity | ✅ |\n| GitHub.com HTTP | ✅ |\n| File Write/Read | ✅ |\n\nOverall: PASS
|
|
github.com connectivity: ✅ file write/read: ✅ BYOK inference: ✅ Running in direct BYOK mode (AWF_AUTH_TYPE=github-oidc + AWF_AUTH_AZURE_* + COPILOT_PROVIDER_BASE_URL) via api-proxy → Azure OpenAI (Foundry, o4-mini-aw) authenticated via Microsoft Entra Overall: PASS Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
|
🔬 Smoke Test: API Proxy OpenTelemetry Tracing
All 5 scenarios pass. OTEL tracing integration is functional. Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
|
Gemini Smoke Test Results
Overall Status: FAIL
Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "localhost"See Network Configuration for more information.
|
🏗️ Build Test Suite Results
Overall: 8/8 ecosystems passed — ✅ PASS Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
|
Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
|
Summary
Updates
docs/model-api-mapping.jsonwith the latest model-to-API endpoint mappings sourced from the OpenAI and Anthropic Python SDKs.Changes
gpt-5-pro-2025-10-06) — this snapshot model ID is in the OpenAI SDKResponsesModeltype but was not matched by the existing exact-matchgpt-5-proentry.o4-mini-deep-research-2025-06-26) — same reason.2026-07-05T06:27:39Z.Sources consulted
main:src/openai/types/shared/chat_model.pyandsrc/openai/types/shared_params/responses_model.pymain:src/anthropic/types/model_param.py— all existing Anthropic patterns already cover current models; no changes needed.No entries removed
All previous model families are preserved; no confirmed deprecations.
Warning
Firewall blocked 2 domains
The following domains were blocked by the firewall during workflow execution:
awmgmcpgdevelopers.openai.comSee Network Configuration for more information.