chore: update model-to-API mapping (2026-07-01)#5742
Conversation
Add new model families discovered from official provider docs: OpenAI: - gpt-5.1*: responses-only (codex, codex-max, codex-mini variants) - gpt-4.5*: chat_completions only (preview model) Anthropic: - claude-sonnet-5: new generation, messages endpoint, 1M ctx - claude-mythos-5: invitation-only (Project Glasswing), messages endpoint Update lastUpdated timestamp to 2026-07-01T08:18:06Z. Sources: - https://docs.anthropic.com/en/docs/about-claude/models - https://platform.openai.com/docs/models Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR updates the model family → API endpoint reference mapping to reflect newly documented OpenAI and Anthropic model families as of 2026-07-01.
Changes:
- Bumps
lastUpdatedto2026-07-01T08:18:06Z. - Adds OpenAI families
gpt-5.1(responses-only) andgpt-4.5(chat completions only). - Adds Anthropic families
claude-mythos-5andclaude-sonnet-5(messages API).
Show a summary per file
| File | Description |
|---|---|
| docs/model-api-mapping.json | Updates the documented model-family patterns and endpoint mappings, plus refreshes the lastUpdated 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-06-30T04:00:00Z", | ||
| "lastUpdated": "2026-07-01T08:18:06Z", |
|
@copilot address review feedback |
Addressed in |
|
✅ Copilot review passed with no inline comments. @github-actions[bot] Add the |
|
🔌 Smoke Services — All services reachable! ✅ |
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤 |
|
✅ Smoke Copilot BYOK AOAI (api-key) completed. Copilot AOAI BYOK (api-key) mode operational. 🔓 |
|
✅ Smoke Gemini completed. All facets verified. 💎 Testing safeoutputs |
|
✅ Smoke Copilot BYOK AOAI (Entra) completed. Copilot AOAI BYOK (Entra) mode operational. 🔓 |
|
📡 Smoke OTel Tracing completed. All tracing scenarios validated. ✅ |
|
✅ Contribution Check completed successfully! |
|
Chroot tests passed! Smoke Chroot - All security and functionality tests succeeded. |
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
|
❌ Security Guard failed. Please review the logs for details. |
|
✅ Smoke Claude passed |
|
✅ Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓 |
|
🔑 Smoke Copilot PAT PAT auth validated. All systems operational. ✅ |
|
| Metric | Base | PR | Delta |
|---|---|---|---|
| Lines | 98.65% | 98.68% | 📈 +0.03% |
| Statements | 98.53% | 98.57% | 📈 +0.04% |
| Functions | 99.55% | 99.55% | ➡️ +0.00% |
| Branches | 94.48% | 94.46% | 📉 -0.02% |
📁 Per-file Coverage Changes (2 files)
| File | Lines (Before → After) | Statements (Before → After) |
|---|---|---|
src/compose-generator.ts |
99.0% → 99.1% (+0.03%) | 97.2% → 97.3% (+0.08%) |
src/workdir-setup.ts |
92.7% → 94.5% (+1.82%) | 92.7% → 94.5% (+1.82%) |
Coverage comparison generated by scripts/ci/compare-coverage.ts
|
✅ Build Test Suite completed successfully! |
|
Thanks for keeping the model mapping current. I noticed one contribution-guideline gap to address before merge:
The PR description is clear, docs/mapping files are updated, and the changed files appear to be in the expected locations.
|
Smoke Test: Claude Engine Validation
Overall result: PASS
|
🔥 Smoke Test Results — Auth mode: PAT (COPILOT_GITHUB_TOKEN)
Overall: PASS cc
|
🤖 Smoke Test ResultsPR: chore: update model-to-API mapping (2026-07-01) ·
Overall:
|
Smoke Test: Copilot BYOK (Direct)✅ GitHub MCP connectivity Status: PASS
|
|
|
|
Overall: PASS
|
Smoke Test: GitHub Actions Services Connectivity
Overall: FAIL —
|
Chroot Version Comparison Results
Result: 1/3 runtimes matched. Python and Node.js versions differ between host and chroot environments.
|
|
Reviewed PRs: Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "registry.npmjs.org"See Network Configuration for more information.
|
🔍 Smoke Test: API Proxy OpenTelemetry Tracing
Summary: All 5 scenarios pass. OTEL tracing integration is fully functional with correct GenAI semantic conventions, parent context propagation, fan-out export, and graceful no-op degradation when unconfigured.
|
🏗️ Build Test Suite Results
Overall: 8/8 ecosystems passed — ✅ PASS Notes
|
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.
|
Updates
docs/model-api-mapping.jsonwith model families verified from official provider documentation (Anthropic docs + OpenAI/LiteLLM model index) as of 2026-07-01.Changes
OpenAI — 2 new families
gpt-5.1gpt-5.1*responsesgpt-4.5gpt-4.5*chat_completionsAnthropic — 2 new families
claude-sonnet-5claude-sonnet-5*messagesclaude-mythos-5claude-mythos-5*,claude-mythos-preview*messagesMetadata
lastUpdatedbumped to2026-07-01T08:18:06ZSources
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
developers.openai.comSee Network Configuration for more information.