chore: update model-to-API mapping (2026-07-03) - #5860
Conversation
- Add o3-pro and o3-deep-research (responses only)
- Add o1-pro (responses only)
- Add computer-use-preview (responses only)
- Add codex-mini family (both endpoints)
- Update claude-opus-4 notes to include claude-opus-4-1
- Clarify o1/o3 notes to distinguish from responses-only variants
- Bump lastUpdated timestamp
Sources: openai-python SDK shared_params/responses_model.py,
shared/chat_model.py, anthropic-python SDK types/model_param.py
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates the model-to-endpoint reference mapping used to document which provider API endpoints (OpenAI chat/responses, Anthropic messages) are supported by each model family.
Changes:
- Added new OpenAI model-family entries (e.g., o3-pro/deep-research, o1-pro, computer-use-preview, codex-mini) and clarified o1/o3 family notes.
- Updated Anthropic
claude-opus-4notes to includeclaude-opus-4-1. - Bumped
lastUpdatedmetadata timestamp.
Show a summary per file
| File | Description |
|---|---|
| docs/model-api-mapping.json | Adds/clarifies model-family → endpoint mappings and updates metadata 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
| "title": "Model-to-API Endpoint Mapping", | ||
| "description": "Maps AI model families to their supported API endpoints. Used to determine which endpoint (chat/completions vs responses vs messages) a model requires.", | ||
| "lastUpdated": "2026-07-02T22:45:35Z", | ||
| "lastUpdated": "2026-07-03T06:21:01Z", |
|
@copilot address review feedback |
Fixed in the latest commit — |
|
✅ Copilot review passed with no inline comments. @github-actions[bot] Add the |
|
✅ Smoke Claude passed |
|
📡 Smoke OTel Tracing completed. All tracing scenarios validated. ✅ |
|
🔑 Smoke Copilot PAT PAT auth validated. All systems operational. ✅ |
|
🔌 Smoke Services — All services reachable! ✅ |
|
✅ Smoke Gemini completed. All facets verified. 💎 |
|
✅ Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓 |
|
✅ Contribution Check completed successfully! PR #5860 follows the applicable CONTRIBUTING.md guidelines based on the provided metadata, diff, and contribution guide; no review comment needed. |
|
✅ Build Test Suite completed successfully! |
|
Chroot tests failed Smoke Chroot failed - See logs for details. |
|
❌ Smoke Copilot BYOK AOAI (Entra) reports failed. AOAI BYOK (Entra) mode investigation needed... |
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
|
📰 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) completed. Copilot AOAI BYOK (api-key) mode operational. 🔓 |
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (2 files)
✨ New Files (1 files)
Coverage comparison generated by |
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: Copilot BYOK (Direct) Mode ✅Status: PASS
Ready for validation. 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
Overall: PASS Author: 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: Copilot PAT Auth — PASS
Auth mode: PAT (COPILOT_GITHUB_TOKEN) | Run: 28663868074 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: PASS Warning Firewall blocked 2 domainsThe following domains were blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"
- "registry.npmjs.org"See Network Configuration for more information.
|
Smoke Test: Gemini Engine Validation
Overall status: PASS 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.
|
Smoke Test: API Proxy OpenTelemetry Tracing
All 5 scenarios passed. OTEL tracing integration is functioning correctly — span creation, GenAI semantic convention attributes ( 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 - Direct BYOK Mode:
Running in direct BYOK mode (COPILOT_PROVIDER_API_KEY + COPILOT_PROVIDER_BASE_URL) via api-proxy → Azure OpenAI (Foundry, o4-mini-aw) Overall: PASS cc 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.
|
|
@copilot fix failing ci checks |
Fixed in the latest commit — |
Summary
Updates
docs/model-api-mapping.jsonwith new OpenAI and Anthropic model entries identified from official provider SDKs.Changes
OpenAI — new model families added (sourced from
openai-pythonSDK):o3-pro/o3-deep-research→ responses only (inResponsesModelbut notChatModel)o1-pro→ responses only (same)computer-use-preview→ responses only (specialized computer-use model)codex-mini(e.g.codex-mini-latest) → both endpoints (inChatModel)o1ando3family notes to distinguish from their responses-only sub-variantsAnthropic — notes update:
claude-opus-4family notes now includeclaude-opus-4-1(found inanthropic-pythonSDKmodel_param.py)Metadata:
lastUpdatedbumped to2026-07-03T06:21:01ZData sources
openai-pythonSDK —src/openai/types/shared/chat_model.pyandsrc/openai/types/shared_params/responses_model.pyanthropic-pythonSDK —src/anthropic/types/model_param.pyand Anthropic docs page model tableValidation
python3 -c 'import json; json.load(open(...))').Warning
Firewall blocked 2 domains
The following domains were blocked by the firewall during workflow execution:
awmgmcpgdevelopers.openai.comSee Network Configuration for more information.