Skip to content

chore: update model-to-API mapping (2026-07-09)#6055

Merged
lpcox merged 3 commits into
mainfrom
chore/update-model-api-mapping-2026-07-09-60927b5ee195d089
Jul 9, 2026
Merged

chore: update model-to-API mapping (2026-07-09)#6055
lpcox merged 3 commits into
mainfrom
chore/update-model-api-mapping-2026-07-09-60927b5ee195d089

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates docs/model-api-mapping.json with corrections from the OpenAI OpenAPI spec v2.3.0.

Changes

  • lastUpdated: bumped to 2026-07-09T06:32:34Z
  • gpt-5.5 note: clarified that this family is not present in OpenAI spec v2.3.0; entry retained for forward-compatibility
  • gpt-4-turbo, gpt-4, gpt-3.5-turbo: updated from chat_completions only → ["chat_completions", "responses"] — these models appear in ModelIdsShared in the OpenAI spec, which is the union type used by both /v1/chat/completions and /v1/responses endpoints

Verification

  • Fetched OpenAI OpenAPI spec (version 2.3.0)
  • Confirmed CreateChatCompletionRequest.model$ref: ModelIdsShared
  • Confirmed ResponseProperties.model$ref: ModelIdsResponses (= ModelIdsShared + ResponsesOnlyModel)
  • Confirmed gpt-4-turbo, gpt-4, gpt-3.5-turbo are enumerated in ModelIdsShared
  • Fetched Anthropic docs — all existing model families remain correctly covered by glob patterns; no new families detected
  • JSON validated successfully

No changes to Anthropic section

All Claude model families (claude-fable-5, claude-mythos-5, claude-sonnet-5, claude-opus-4, claude-sonnet-4, claude-haiku-4, claude-3.5-sonnet, claude-3.5-haiku, claude-3-opus) remain accurate and complete.

Warning

Firewall blocked 2 domains

The following domains were blocked by the firewall during workflow execution:

  • awmgmcpg
  • developers.openai.com

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

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

See Network Configuration for more information.

Generated by 🗺️ Model API Mapping Updater · 189.1 AIC · ⌖ 12.7 AIC · ⊞ 5K ·

- Update lastUpdated to 2026-07-09T06:32:34Z
- Clarify gpt-5.5 note: not present in OpenAI OpenAPI spec v2.3.0
- Update gpt-4-turbo, gpt-4, gpt-3.5-turbo to support both endpoints
  (these models are in ModelIdsShared per OpenAI spec v2.3.0, meaning
  they work with both /v1/chat/completions and /v1/responses)

Sources: OpenAI OpenAPI spec v2.3.0, Anthropic docs (no new models detected)

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

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 the OpenAI portion of the model-to-endpoint mapping reference used in this repo, aligning several legacy GPT model families with OpenAI OpenAPI spec v2.3.0 and refreshing the metadata timestamp.

Changes:

  • Bumped lastUpdated timestamp in docs/model-api-mapping.json.
  • Clarified the gpt-5.5 notes to reflect its absence from OpenAI OpenAPI spec v2.3.0 (kept for forward compatibility).
  • Expanded gpt-4-turbo, gpt-4, and gpt-3.5-turbo supported endpoints from chat_completions only to ["chat_completions", "responses"].
Show a summary per file
File Description
docs/model-api-mapping.json Updates OpenAI model-family endpoint support and metadata timestamp per OpenAI spec v2.3.0 findings.

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-07T06:29:55Z",
"lastUpdated": "2026-07-09T06:32:34Z",
@lpcox

lpcox commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

@copilot address review feedback

Copilot AI commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@copilot address review feedback

Mirrored all changes into containers/api-proxy/model-api-mapping.json in the latest commit — lastUpdated, gpt-5.5 notes, and the gpt-4-turbo/gpt-4/gpt-3.5-turbo endpoint expansions are now in sync with docs/model-api-mapping.json.

Copilot finished work on behalf of lpcox July 9, 2026 13:37
Copilot AI requested a review from lpcox July 9, 2026 13:37
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Documentation Preview

Documentation build failed for this PR. View logs.

Built from commit 3dff971

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

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

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

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

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Smoke Claude passed

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

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

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Chroot tests passed! Smoke Chroot - All security and functionality tests succeeded.

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

🔌 Smoke Services — All services reachable! ✅

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Security Guard failed. Please review the logs for details.

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Smoke Copilot BYOK AOAI (Entra) completed. Copilot AOAI BYOK (Entra) mode operational. 🔓

@github-actions

github-actions Bot commented Jul 9, 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 9, 2026

Copy link
Copy Markdown
Contributor Author

🌑 The shadows whisper... Smoke Codex failed. The oracle requires further meditation...

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Smoke Gemini completed. All facets verified. 💎

Smoke test completed with partial failures. Results reported to PR #6055.

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Contribution Check completed successfully!

PR #6055 follows the applicable CONTRIBUTING.md guidelines; no review comment needed.

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Build Test Suite completed successfully!

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

✅ Coverage Check Passed

Overall Coverage

Metric Base PR Delta
Lines 98.99% 99.19% 📈 +0.20%
Statements 98.96% 99.15% 📈 +0.19%
Functions 99.45% 99.45% ➡️ +0.00%
Branches 95.71% 95.77% 📈 +0.06%
📁 Per-file Coverage Changes (4 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%)
src/services/agent-volumes/hosts-file.ts 92.8% → 100.0% (+7.15%) 93.2% → 100.0% (+6.78%)
src/diagnostic-collector.ts 92.5% → 100.0% (+7.50%) 92.5% → 100.0% (+7.50%)
src/services/agent-volumes/docker-socket.ts 91.7% → 100.0% (+8.34%) 91.7% → 100.0% (+8.34%)

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

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

🔥 Smoke Test Results

Test Result
GitHub MCP
GitHub.com HTTP ✅ 200
File Write/Read

Overall: PASS

CC @lpcox

Warning

Firewall blocked 1 domain

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

  • awmgmcpg

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

network:
  allowed:
    - defaults
    - "awmgmcpg"

See Network Configuration for more information.

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

@github-actions

github-actions Bot commented Jul 9, 2026

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

Warning

Firewall blocked 1 domain

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

  • awmgmcpg

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

network:
  allowed:
    - defaults
    - "awmgmcpg"

See Network Configuration for more information.

Generated by Smoke Claude for #6055 · 55.8 AIC · ⊞ 3.3K ·
Add label ready-for-aw to run again

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Smoke Test: Copilot PAT Auth ✅ PASS

Auth mode: PAT (COPILOT_GITHUB_TOKEN) | @lpcox

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

Overall: PASS

Warning

Firewall blocked 1 domain

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

  • awmgmcpg

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

network:
  allowed:
    - defaults
    - "awmgmcpg"

See Network Configuration for more information.

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

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

@lpcox
GitHub MCP (pre-fetched PR Data): ✅
GitHub.com connectivity: ✅
File write/read test: ✅
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

Warning

Firewall blocked 1 domain

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

  • awmgmcpg

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

network:
  allowed:
    - defaults
    - "awmgmcpg"

See Network Configuration for more information.

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

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

@lpcox

✅ GitHub MCP testing
✅ GitHub.com connectivity
✅ File write/read test
✅ BYOK inference test

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 domain

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

  • awmgmcpg

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

network:
  allowed:
    - defaults
    - "awmgmcpg"

See Network Configuration for more information.

🪪 BYOK (AOAI Entra) report filed by Smoke Copilot BYOK AOAI (Entra)
Add label ready-for-aw to run again

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Smoke Test: Services Connectivity

  • ❌ Redis (host.docker.internal:6379): Network unreachable
  • ❌ PostgreSQL pg_isready (host.docker.internal:5432): No response
  • ❌ PostgreSQL SELECT 1: Network unreachable

Overall: FAIL — all service containers unreachable via host.docker.internal.

Warning

Firewall blocked 1 domain

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

  • awmgmcpg

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

network:
  allowed:
    - defaults
    - "awmgmcpg"

See Network Configuration for more information.

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

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Smoke Test: Copilot BYOK (Direct) Mode

✅ PASS

  • ✅ MCP connectivity: BYOK inference working
  • ✅ GitHub.com: HTTP 200
  • ✅ File I/O: Read/write operational
  • ✅ BYOK path: api-proxy → api.githubcopilot.com

Running in direct BYOK mode (COPILOT_PROVIDER_API_KEY) via api-proxy sidecar.

@lpcox

Warning

Firewall blocked 1 domain

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

  • awmgmcpg

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

network:
  allowed:
    - defaults
    - "awmgmcpg"

See Network Configuration for more information.

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

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Smoke Test Results (Gemini)

  • GitHub MCP Testing: ❌ (Tool not found/Network failure)
  • GitHub.com Connectivity: ❌ (DNS failure)
  • File Writing Testing: ✅
  • Bash Tool Testing: ✅

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

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

🔭 OTEL Tracing Smoke Test Results

Scenario Result Notes
1. Module Loading ✅ Pass otel.js loads successfully; exports: startRequestSpan, setTokenAttributes, setBudgetAttributes, endSpan, endSpanError, shutdown, isEnabled + test internals. isEnabled() returns true
2. Test Suite ✅ Pass 59/59 tests pass across 2 suites (otel.test.js, otel-fanout.test.js) — spans, token attrs, budget attrs, serialization, exporters all covered
3. Env Var Forwarding ✅ Pass api-proxy-env-config.test.ts (50/50 pass) confirms GH_AW_OTLP_ENDPOINTS, OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_EXPORTER_OTLP_HEADERS, GITHUB_AW_OTEL_TRACE_ID, GITHUB_AW_OTEL_PARENT_SPAN_ID, OTEL_SERVICE_NAME all forwarded
4. Token Tracker Integration ✅ Pass onUsage callback present in token-tracker-http.js (line 343); serves as OTEL hook point for setTokenAttributes
5. OTEL Diagnostics ✅ Pass FileSpanExporter writes spans to /var/log/api-proxy/otel.jsonl as local fallback; graceful degradation when no OTLP endpoint configured

All 5 scenarios pass. OTEL tracing integration is fully operational.

Warning

Firewall blocked 1 domain

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

  • awmgmcpg

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

network:
  allowed:
    - defaults
    - "awmgmcpg"

See Network Configuration for more information.

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

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Chroot Version Comparison Results

Runtime Host Version Chroot Version Match?
Python Python 3.12.13 Python 3.12.3 ❌ NO
Node.js v24.18.0 v22.23.1 ❌ NO
Go go1.22.12 go1.22.12 ✅ YES

Overall: ❌ Not all tests passed. Python patch version and Node.js minor version differ between host and chroot environments.

Warning

Firewall blocked 1 domain

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

  • awmgmcpg

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

network:
  allowed:
    - defaults
    - "awmgmcpg"

See Network Configuration for more information.

Tested by Smoke Chroot
Add label ready-for-aw to run again

@github-actions

github-actions Bot commented Jul 9, 2026

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 All passed ✅ PASS
Node.js execa All passed ✅ PASS
Node.js p-limit All passed ✅ PASS
Rust fd 1/1 passed ✅ PASS
Rust zoxide 1/1 passed ✅ PASS

Overall: 8/8 ecosystems passed — ✅ PASS

Warning

Firewall blocked 1 domain

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

  • awmgmcpg

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

network:
  allowed:
    - defaults
    - "awmgmcpg"

See Network Configuration for more information.

Generated by Build Test Suite for #6055 · 35.1 AIC · ⊞ 6.9K ·
Add label ready-for-aw to run again

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@lpcox lpcox merged commit 7954820 into main Jul 9, 2026
24 checks passed
@lpcox lpcox deleted the chore/update-model-api-mapping-2026-07-09-60927b5ee195d089 branch July 9, 2026 19:05
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