Skip to content

chore: update model-to-API mapping (2026-07-22)#6489

Merged
lpcox merged 2 commits into
mainfrom
chore/update-model-api-mapping-2026-07-22-26bd7d3dec5331bb
Jul 22, 2026
Merged

chore: update model-to-API mapping (2026-07-22)#6489
lpcox merged 2 commits into
mainfrom
chore/update-model-api-mapping-2026-07-22-26bd7d3dec5331bb

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Verified model-to-API endpoint mappings against current OpenAI and Anthropic provider documentation.

Changes:

  • Updated lastUpdated timestamp to 2026-07-22T06:07:25Z

Verification summary:

  • OpenAI: Confirmed model coverage against https://platform.openai.com/docs/models and the OpenAI OpenAPI spec. Existing entries for gpt-5, gpt-5.1, gpt-5.4, gpt-5.5, o3, o4-mini, gpt-4o, gpt-4.1, and legacy families are accurate.
  • Anthropic: Confirmed model coverage against https://docs.anthropic.com/en/docs/about-claude/models. Existing entries for claude-opus-4, claude-sonnet-4, claude-haiku-4, claude-fable-5, claude-mythos-5, and claude-sonnet-5 families are accurate. No new families detected beyond what is already listed.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • developers.openai.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "developers.openai.com"

See Network Configuration for more information.

Generated by 🗺️ Model API Mapping Updater · 24.7 AIC · ⌖ 9.61 AIC · ⊞ 5.3K ·

Verified model coverage against OpenAI and Anthropic provider docs.
Updated lastUpdated timestamp to reflect current verification pass.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@lpcox
lpcox marked this pull request as ready for review July 22, 2026 13:32
Copilot AI review requested due to automatic review settings July 22, 2026 13:32

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.

Pull request overview

Updates model-to-API mapping freshness metadata after provider documentation review.

Changes:

  • Advances the mapping’s verification timestamp.
  • Leaves model endpoint mappings unchanged.
Show a summary per file
File Description
docs/model-api-mapping.json Updates lastUpdated to July 22, 2026.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comments suppressed due to low confidence (1)

docs/model-api-mapping.json:4

  • This freshness update does not reach the deployed /reflect response: model-api-mapping.js prefers containers/api-proxy/model-api-mapping.json, the Dockerfile bundles that copy, and its test still expects 2026-07-16T06:03:36Z. Keep the packaged mapping and test synchronized so runtime consumers see the updated data.
  "lastUpdated": "2026-07-22T06:07:25Z",
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Medium

"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-17T06:00:00Z",
"lastUpdated": "2026-07-22T06:07:25Z",
@lpcox

lpcox commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

@copilot address review feedback. don't update .lock.yml files directly; only recompile them if the corresponding .md changed.

Copilot AI commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

@copilot address review feedback. don't update .lock.yml files directly; only recompile them if the corresponding .md changed.

Updated the GPT-5.5 entry to include both chat_completions and responses endpoints (commit fix: add chat_completions endpoint to GPT-5.5 mapping entry). No .lock.yml files were modified in this PR, so no recompilation needed.

Copilot finished work on behalf of lpcox July 22, 2026 16:01
Copilot AI requested a review from lpcox July 22, 2026 16:01
@github-actions

Copy link
Copy Markdown
Contributor Author

✅ Copilot review passed with no inline comments.

@github-actions[bot] Add the ready-for-aw label to this PR to trigger agentic CI smoke tests.

@github-actions

Copy link
Copy Markdown
Contributor Author

Documentation Preview

Documentation build failed for this PR. View logs.

Built from commit c3f1ab6

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

🔌 Smoke Services — All services reachable! ✅

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

Smoke Claude passed

@github-actions

Copy link
Copy Markdown
Contributor Author

🚀 Security Guard has started processing this pull request

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

Smoke Copilot BYOK AOAI (api-key) completed. Copilot AOAI BYOK (api-key) mode operational. 🔓

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

📡 Smoke OTel Tracing completed. All tracing scenarios validated. ✅

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

Contribution Check completed successfully!

Contribution check complete for PR #6489: no guideline issues found that warrant a review comment. The change is a small data update with a clear description, and no new code or docs/tests were introduced that require additional contribution-guideline feedback.

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

📰 VERDICT: Smoke Docker Sbx has concluded. All systems operational. This is a developing story. 🎤

@github-actions

Copy link
Copy Markdown
Contributor Author

✅ Coverage Check Passed

Overall Coverage

Metric Base PR Delta
Lines 98.99% 99.02% 📈 +0.03%
Statements 98.92% 98.95% 📈 +0.03%
Functions 99.40% 99.40% ➡️ +0.00%
Branches 95.34% 95.34% ➡️ +0.00%
📁 Per-file Coverage Changes (1 files)
File Lines (Before → After) Statements (Before → After)
src/log-directory-setup.ts 96.2% → 100.0% (+3.78%) 96.3% → 100.0% (+3.71%)

Coverage comparison generated by scripts/ci/compare-coverage.ts

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

Build Test Suite completed successfully!

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

Smoke Gemini completed. All facets verified. 💎

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

🔑 Smoke Copilot PAT PAT auth validated. All systems operational. ✅

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

🛡️ Smoke Copilot Network Isolation confirmed the egress allowlist is enforced. ✅

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤

@github-actions

Copy link
Copy Markdown
Contributor Author

@lpcox — Smoke test: Copilot Network Isolation Egress Enforcement

EGRESS_RESULT allow=pass deny=pass

✅ Allowed domain (api.github.com) — HTTP 200
✅ Blocked domain (example.com) — connection denied (403 from proxy)

Overall: PASS

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • example.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "example.com"

See Network Configuration for more information.

🛡️ Egress verdict from Smoke Copilot Network Isolation
Add label ready-for-aw to run again

@github-actions github-actions Bot added smoke-copilot-network-isolation Copilot network-isolation egress smoke test smoke-copilot-byok labels Jul 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

🔬 Smoke Test Results — Auth mode: PAT (COPILOT_GITHUB_TOKEN)

Test Result
GitHub MCP connectivity ✅ (PR reachable, filtered by policy — confirms auth works)
GitHub.com HTTP ⚠️ Pre-step data unavailable (template vars not expanded)
File write/read ⚠️ Pre-step data unavailable (template vars not expanded)

Overall: PARTIAL — MCP auth confirmed; pre-computed step outputs were not interpolated into the prompt.

cc @lpcox

🔑 PAT report filed by Smoke Copilot PAT
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor Author

🔥 Smoke Test: Copilot BYOK (Direct Mode)

Test Result
GitHub MCP Connectivity
GitHub.com Connectivity
File Write/Read
BYOK Inference

Status: PASS

Running in direct BYOK mode via COPILOT_PROVIDER_API_KEY → api-proxy sidecar → api.githubcopilot.com

@lpcox

🔑 BYOK report filed by Smoke Copilot BYOK
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor Author

Smoke Test Results — Service Connectivity

Check Result
Redis PING ❌ Name resolution failed (host.docker.internal unresolvable)
PostgreSQL pg_isready ❌ No response
PostgreSQL SELECT 1 ❌ Name resolution failed

Overall: FAILhost.docker.internal is not resolvable in this environment. Service containers may not be running or the hostname is not configured in this runner.

🔌 Service connectivity validated by Smoke Services
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor Author

Smoke Test: Claude Engine Validation

Check Result
API status ✅ PASS
GH check ✅ PASS
File status ✅ PASS

Overall result: PASS

Generated by Smoke Claude for #6489 · 31.3 AIC · ⊞ 3.2K ·
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor Author

Smoke Test: Gemini Engine Validation

Overall status: FAIL

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • localhost

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "localhost"

See Network Configuration for more information.

💎 Faceted by Smoke Gemini
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor Author

✅ Support COPILOT_MODEL=auto in AWF validation and api-proxy resolution
✅ Auto-allow topology-attached container hostnames in Squid ACL
✅ GitHub title check
✅ smoke-test-codex-29936743700.txt
npm ci && npm run build
Overall: PASS

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • registry.npmjs.org

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "registry.npmjs.org"

See Network Configuration for more information.

🔮 The oracle has spoken through Smoke Codex
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor Author

Smoke Test: API Proxy OpenTelemetry Tracing

Scenario Status Notes
1. Module Loading otel.js loads successfully; exports: startRequestSpan, setTokenAttributes, setBudgetAttributes, endSpan, endSpanError, shutdown, isEnabled
2. Test Suite 39 tests passed, 0 failed (otel.test.js)
3. Env Var Forwarding api-proxy-env-config.ts forwards GH_AW_OTLP_ENDPOINTS, GITHUB_AW_OTEL_TRACE_ID, GITHUB_AW_OTEL_PARENT_SPAN_ID
4. Token Tracker Integration onUsage callback present in token-tracker-http.js (line 343)
5. OTEL Diagnostics isEnabled() returns true; gracefully falls back to FileSpanExporter (/var/log/api-proxy/otel.jsonl) when no OTLP endpoint is configured

All scenarios pass. ✅

📡 OTel tracing validated by Smoke OTel Tracing
Add label ready-for-aw to run again

@github-actions github-actions Bot mentioned this pull request Jul 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

@lpcox
Smoke-tested PRs: ${{ steps.smoke-data.outputs.SMOKE_PR_DATA }}
GitHub MCP: ✅
GitHub.com connectivity: ✅
File I/O: ✅
BYOK inference: ✅
Running in direct BYOK mode (COPILOT_PROVIDER_API_KEY + COPILOT_PROVIDER_BASE_URL) via api-proxy → Azure OpenAI (Foundry, o4-mini-aw)
Overall: PASS

🔑 BYOK (AOAI api-key) report filed by Smoke Copilot BYOK AOAI (api-key)
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor Author

🔬 Smoke Test: Docker Sbx — PASS

Test Result
GitHub MCP connectivity
GitHub.com HTTP
File write/read

Overall: PASS

📰 BREAKING: Report filed by Smoke Docker Sbx
Add label ready-for-aw to run again

@lpcox
lpcox enabled auto-merge (squash) July 22, 2026 16:20
@github-actions

Copy link
Copy Markdown
Contributor Author

🔬 Smoke Test Results

Test Status
GitHub MCP Connectivity ⚠️ Filtered by secrecy policy
GitHub.com HTTP ⚠️ Template vars not expanded
File Write/Read ⚠️ Template vars not expanded

Overall: INCONCLUSIVE — Pre-computed step outputs were not interpolated into the prompt (raw ${{ }} syntax). Engine connectivity confirmed (MCP server responded).

cc @lpcox

📰 BREAKING: Report filed by Smoke Copilot
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor Author

🏗️ Build Test Suite Results

Ecosystem Project Build/Install Tests Status
Bun elysia 1/1 passed ✅ PASS
Bun hono 1/1 passed ✅ PASS
C++ fmt N/A ✅ PASS
C++ json N/A ✅ PASS
Deno oak N/A 1/1 passed ✅ PASS
Deno std N/A 1/1 passed ✅ PASS
.NET hello-world N/A ✅ PASS
.NET json-parse N/A ✅ PASS
Go color 1/1 passed ✅ PASS
Go env 1/1 passed ✅ PASS
Go uuid 1/1 passed ✅ PASS
Java gson 1/1 passed ✅ PASS
Java caffeine 1/1 passed ✅ PASS
Node.js clsx passed ✅ PASS
Node.js execa passed ✅ PASS
Node.js p-limit passed ✅ PASS
Rust fd 1/1 passed ✅ PASS
Rust zoxide 1/1 passed ✅ PASS

Overall: 8/8 ecosystems passed — ✅ PASS

Note (Java): The default ~/.m2 directory was owned by root, so -Dmaven.repo.local=/tmp/gh-aw/agent/m2repo was used to set a writable local repository path. All Maven builds and tests succeeded.

Generated by Build Test Suite for #6489 · 34.3 AIC · ⊞ 8.2K ·
Add label ready-for-aw to run again

@lpcox
lpcox merged commit 6fbeccc into main Jul 22, 2026
137 of 141 checks passed
@lpcox
lpcox deleted the chore/update-model-api-mapping-2026-07-22-26bd7d3dec5331bb branch July 22, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants