Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions containers/api-proxy/model-api-mapping.json
Original file line number Diff line number Diff line change
@@ -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-03T06:21:01Z",
"lastUpdated": "2026-07-04T06:17:12Z",
"sources": {
"openai": "https://platform.openai.com/docs/models",
"anthropic": "https://docs.anthropic.com/en/docs/about-claude/models"
Expand Down Expand Up @@ -115,11 +115,17 @@
"endpoints": ["chat_completions", "responses"],
"notes": "Supports both endpoints. codex-mini-latest is in ChatModel."
},
{
"family": "chatgpt-4o-latest",
"patterns": ["chatgpt-4o-latest"],
"endpoints": ["chat_completions", "responses"],
"notes": "Rolling alias for the latest ChatGPT-optimized GPT-4o model. Supports both endpoints (ModelIdsShared). Not matched by gpt-4o* pattern due to chatgpt- prefix."
},
{
"family": "gpt-4o",
"patterns": ["gpt-4o*"],
"endpoints": ["chat_completions", "responses"],
"notes": "Multimodal. Supports both endpoints."
"notes": "Multimodal. Supports both endpoints. Includes audio and search preview variants."
},
{
"family": "gpt-4.1",
Expand Down
2 changes: 1 addition & 1 deletion containers/api-proxy/model-api-mapping.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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-03T06:21:01Z');
expect(reflect.last_updated).toBe('2026-07-04T06:17:12Z');
expect(reflect.error).toBeNull();
});
});
Expand Down
10 changes: 8 additions & 2 deletions docs/model-api-mapping.json
Original file line number Diff line number Diff line change
@@ -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-03T06:21:01Z",
"lastUpdated": "2026-07-04T06:17:12Z",
"sources": {
"openai": "https://platform.openai.com/docs/models",
"anthropic": "https://docs.anthropic.com/en/docs/about-claude/models"
Expand Down Expand Up @@ -115,11 +115,17 @@
"endpoints": ["chat_completions", "responses"],
"notes": "Supports both endpoints. codex-mini-latest is in ChatModel."
},
{
"family": "chatgpt-4o-latest",
"patterns": ["chatgpt-4o-latest"],
"endpoints": ["chat_completions", "responses"],
"notes": "Rolling alias for the latest ChatGPT-optimized GPT-4o model. Supports both endpoints (ModelIdsShared). Not matched by gpt-4o* pattern due to chatgpt- prefix."
},
{
"family": "gpt-4o",
"patterns": ["gpt-4o*"],
"endpoints": ["chat_completions", "responses"],
"notes": "Multimodal. Supports both endpoints."
"notes": "Multimodal. Supports both endpoints. Includes audio and search preview variants."
},
{
"family": "gpt-4.1",
Expand Down
Loading