From c289a86046df2361836ddf3b05fe0f0ef33a3c0f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 3 Jul 2026 06:31:23 +0000 Subject: [PATCH 1/3] chore: update model-to-API mapping (2026-07-03) - 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> --- docs/model-api-mapping.json | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/docs/model-api-mapping.json b/docs/model-api-mapping.json index 444aee014..1739f2ef3 100644 --- a/docs/model-api-mapping.json +++ b/docs/model-api-mapping.json @@ -1,7 +1,7 @@ { "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", "sources": { "openai": "https://platform.openai.com/docs/models", "anthropic": "https://docs.anthropic.com/en/docs/about-claude/models" @@ -79,17 +79,41 @@ "endpoints": ["chat_completions", "responses"], "notes": "Reasoning model. o4-mini supports both endpoints (ModelIdsShared)." }, + { + "family": "o3-pro/deep-research", + "patterns": ["o3-pro", "o3-pro-*", "o3-deep-research", "o3-deep-research-*"], + "endpoints": ["responses"], + "notes": "Responses API only. o3-pro and o3-deep-research are in ResponsesModel but not ChatModel." + }, { "family": "o3", "patterns": ["o3*"], "endpoints": ["chat_completions", "responses"], - "notes": "Reasoning model. Supports both endpoints." + "notes": "Reasoning model. o3, o3-mini support both endpoints. o3-pro/deep-research use responses only (covered by separate entry above)." + }, + { + "family": "o1-pro", + "patterns": ["o1-pro", "o1-pro-*"], + "endpoints": ["responses"], + "notes": "Responses API only. o1-pro is in ResponsesModel but not ChatModel." }, { "family": "o1", "patterns": ["o1*"], "endpoints": ["chat_completions", "responses"], - "notes": "Reasoning model. Supports both endpoints." + "notes": "Reasoning model. o1, o1-mini, o1-preview support both endpoints. o1-pro uses responses only (covered by separate entry above)." + }, + { + "family": "computer-use-preview", + "patterns": ["computer-use-preview*"], + "endpoints": ["responses"], + "notes": "Responses API only. Specialized model for computer use tasks." + }, + { + "family": "codex-mini", + "patterns": ["codex-mini*"], + "endpoints": ["chat_completions", "responses"], + "notes": "Supports both endpoints. codex-mini-latest is in ChatModel." }, { "family": "gpt-4o", @@ -159,7 +183,7 @@ "family": "claude-opus-4", "patterns": ["claude-opus-4*"], "endpoints": ["messages"], - "notes": "Includes claude-opus-4-8, claude-opus-4-7, claude-opus-4-6, claude-opus-4-5. 1M token context." + "notes": "Includes claude-opus-4-8, claude-opus-4-7, claude-opus-4-6, claude-opus-4-5, claude-opus-4-1. 1M token context." }, { "family": "claude-sonnet-4", From ea3798ee41d830dd0f34bad7cd241570e5ddf84d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 3 Jul 2026 12:50:40 +0000 Subject: [PATCH 2/3] chore: sync containers/api-proxy/model-api-mapping.json with docs/ --- containers/api-proxy/model-api-mapping.json | 32 ++++++++++++++++++--- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/containers/api-proxy/model-api-mapping.json b/containers/api-proxy/model-api-mapping.json index 444aee014..1739f2ef3 100644 --- a/containers/api-proxy/model-api-mapping.json +++ b/containers/api-proxy/model-api-mapping.json @@ -1,7 +1,7 @@ { "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", "sources": { "openai": "https://platform.openai.com/docs/models", "anthropic": "https://docs.anthropic.com/en/docs/about-claude/models" @@ -79,17 +79,41 @@ "endpoints": ["chat_completions", "responses"], "notes": "Reasoning model. o4-mini supports both endpoints (ModelIdsShared)." }, + { + "family": "o3-pro/deep-research", + "patterns": ["o3-pro", "o3-pro-*", "o3-deep-research", "o3-deep-research-*"], + "endpoints": ["responses"], + "notes": "Responses API only. o3-pro and o3-deep-research are in ResponsesModel but not ChatModel." + }, { "family": "o3", "patterns": ["o3*"], "endpoints": ["chat_completions", "responses"], - "notes": "Reasoning model. Supports both endpoints." + "notes": "Reasoning model. o3, o3-mini support both endpoints. o3-pro/deep-research use responses only (covered by separate entry above)." + }, + { + "family": "o1-pro", + "patterns": ["o1-pro", "o1-pro-*"], + "endpoints": ["responses"], + "notes": "Responses API only. o1-pro is in ResponsesModel but not ChatModel." }, { "family": "o1", "patterns": ["o1*"], "endpoints": ["chat_completions", "responses"], - "notes": "Reasoning model. Supports both endpoints." + "notes": "Reasoning model. o1, o1-mini, o1-preview support both endpoints. o1-pro uses responses only (covered by separate entry above)." + }, + { + "family": "computer-use-preview", + "patterns": ["computer-use-preview*"], + "endpoints": ["responses"], + "notes": "Responses API only. Specialized model for computer use tasks." + }, + { + "family": "codex-mini", + "patterns": ["codex-mini*"], + "endpoints": ["chat_completions", "responses"], + "notes": "Supports both endpoints. codex-mini-latest is in ChatModel." }, { "family": "gpt-4o", @@ -159,7 +183,7 @@ "family": "claude-opus-4", "patterns": ["claude-opus-4*"], "endpoints": ["messages"], - "notes": "Includes claude-opus-4-8, claude-opus-4-7, claude-opus-4-6, claude-opus-4-5. 1M token context." + "notes": "Includes claude-opus-4-8, claude-opus-4-7, claude-opus-4-6, claude-opus-4-5, claude-opus-4-1. 1M token context." }, { "family": "claude-sonnet-4", From 40c27db07292db1468d2d63699e2ca11518d2694 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 3 Jul 2026 14:51:29 +0000 Subject: [PATCH 3/3] fix: update model-api-mapping test timestamp for 2026-07-03 --- containers/api-proxy/model-api-mapping.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/api-proxy/model-api-mapping.test.js b/containers/api-proxy/model-api-mapping.test.js index 120db22e4..7b08e8c3e 100644 --- a/containers/api-proxy/model-api-mapping.test.js +++ b/containers/api-proxy/model-api-mapping.test.js @@ -111,7 +111,7 @@ describe('model-api-mapping', () => { expect(reflect.available).toBe(true); expect(reflect.providers).toContain('openai'); expect(reflect.providers).toContain('anthropic'); - expect(reflect.last_updated).toBe('2026-07-02T22:45:35Z'); + expect(reflect.last_updated).toBe('2026-07-03T06:21:01Z'); expect(reflect.error).toBeNull(); }); });