Skip to content

Commit 7954820

Browse files
github-actions[bot]CopilotCopilotlpcox
authored
chore: update model-to-API mapping (2026-07-09) (#6055)
* chore: update model-to-API mapping (2026-07-09) - 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> * chore: mirror model-api-mapping updates into containers/api-proxy * fix: update last_updated assertion to match new mapping data Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Landon Cox <landon.cox@microsoft.com>
1 parent 9a2d384 commit 7954820

3 files changed

Lines changed: 17 additions & 17 deletions

File tree

containers/api-proxy/model-api-mapping.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"title": "Model-to-API Endpoint Mapping",
33
"description": "Maps AI model families to their supported API endpoints. Used to determine which endpoint (chat/completions vs responses vs messages) a model requires.",
4-
"lastUpdated": "2026-07-05T06:27:39Z",
4+
"lastUpdated": "2026-07-09T06:32:34Z",
55
"sources": {
66
"openai": "https://platform.openai.com/docs/models",
77
"anthropic": "https://docs.anthropic.com/en/docs/about-claude/models"
@@ -23,7 +23,7 @@
2323
"family": "gpt-5.5",
2424
"patterns": ["gpt-5.5*"],
2525
"endpoints": ["responses"],
26-
"notes": "Responses API only. Not accessible via /chat/completions."
26+
"notes": "Responses API only. Not present in OpenAI OpenAPI spec v2.3.0; reserved for future gpt-5.5 family models."
2727
},
2828
{
2929
"family": "gpt-5.4",
@@ -142,20 +142,20 @@
142142
{
143143
"family": "gpt-4-turbo",
144144
"patterns": ["gpt-4-turbo*"],
145-
"endpoints": ["chat_completions"],
146-
"notes": "Legacy. Chat completions only."
145+
"endpoints": ["chat_completions", "responses"],
146+
"notes": "Legacy. In ModelIdsShared per OpenAI spec v2.3.0; supports both endpoints."
147147
},
148148
{
149149
"family": "gpt-4",
150150
"patterns": ["gpt-4", "gpt-4-*"],
151-
"endpoints": ["chat_completions"],
152-
"notes": "Legacy. Chat completions only."
151+
"endpoints": ["chat_completions", "responses"],
152+
"notes": "Legacy. In ModelIdsShared per OpenAI spec v2.3.0; supports both endpoints."
153153
},
154154
{
155155
"family": "gpt-3.5-turbo",
156156
"patterns": ["gpt-3.5-turbo*"],
157-
"endpoints": ["chat_completions"],
158-
"notes": "Legacy. Chat completions only. Deprecated."
157+
"endpoints": ["chat_completions", "responses"],
158+
"notes": "Legacy. In ModelIdsShared per OpenAI spec v2.3.0; supports both endpoints. Deprecated."
159159
}
160160
]
161161
},

containers/api-proxy/model-api-mapping.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ describe('model-api-mapping', () => {
111111
expect(reflect.available).toBe(true);
112112
expect(reflect.providers).toContain('openai');
113113
expect(reflect.providers).toContain('anthropic');
114-
expect(reflect.last_updated).toBe('2026-07-05T06:27:39Z');
114+
expect(reflect.last_updated).toBe('2026-07-09T06:32:34Z');
115115
expect(reflect.error).toBeNull();
116116
});
117117
});

docs/model-api-mapping.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"title": "Model-to-API Endpoint Mapping",
33
"description": "Maps AI model families to their supported API endpoints. Used to determine which endpoint (chat/completions vs responses vs messages) a model requires.",
4-
"lastUpdated": "2026-07-07T06:29:55Z",
4+
"lastUpdated": "2026-07-09T06:32:34Z",
55
"sources": {
66
"openai": "https://platform.openai.com/docs/models",
77
"anthropic": "https://docs.anthropic.com/en/docs/about-claude/models"
@@ -23,7 +23,7 @@
2323
"family": "gpt-5.5",
2424
"patterns": ["gpt-5.5*"],
2525
"endpoints": ["responses"],
26-
"notes": "Responses API only. Not accessible via /chat/completions."
26+
"notes": "Responses API only. Not present in OpenAI OpenAPI spec v2.3.0; reserved for future gpt-5.5 family models."
2727
},
2828
{
2929
"family": "gpt-5.4",
@@ -142,20 +142,20 @@
142142
{
143143
"family": "gpt-4-turbo",
144144
"patterns": ["gpt-4-turbo*"],
145-
"endpoints": ["chat_completions"],
146-
"notes": "Legacy. Chat completions only."
145+
"endpoints": ["chat_completions", "responses"],
146+
"notes": "Legacy. In ModelIdsShared per OpenAI spec v2.3.0; supports both endpoints."
147147
},
148148
{
149149
"family": "gpt-4",
150150
"patterns": ["gpt-4", "gpt-4-*"],
151-
"endpoints": ["chat_completions"],
152-
"notes": "Legacy. Chat completions only."
151+
"endpoints": ["chat_completions", "responses"],
152+
"notes": "Legacy. In ModelIdsShared per OpenAI spec v2.3.0; supports both endpoints."
153153
},
154154
{
155155
"family": "gpt-3.5-turbo",
156156
"patterns": ["gpt-3.5-turbo*"],
157-
"endpoints": ["chat_completions"],
158-
"notes": "Legacy. Chat completions only. Deprecated."
157+
"endpoints": ["chat_completions", "responses"],
158+
"notes": "Legacy. In ModelIdsShared per OpenAI spec v2.3.0; supports both endpoints. Deprecated."
159159
}
160160
]
161161
},

0 commit comments

Comments
 (0)