Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

feat(github): add targetFormat openai-responses to all GitHub models

diegosouzapw0da32bdfec85
diff --git a/open-sse/config/providerRegistry.ts b/open-sse/config/providerRegistry.ts
index 52e769aa19..56544c450f 100644
--- a/open-sse/config/providerRegistry.ts
+++ b/open-sse/config/providerRegistry.ts
@@ -553,20 +553,20 @@ export const REGISTRY: Record<string, RegistryEntry> = {
defaultContextLength: 128000,
headers: getGitHubCopilotChatHeaders(),
models: [
- { id: "gpt-5-mini", name: "GPT-5 Mini" },
+ { id: "gpt-5-mini", name: "GPT-5 Mini", targetFormat: "openai-responses" },
{ id: "gpt-5.3-codex", name: "GPT-5.3 Codex", targetFormat: "openai-responses" },
{ id: "gpt-5.4-mini", name: "GPT-5.4 Mini", targetFormat: "openai-responses" },
{ id: "gpt-5.4", name: "GPT-5.4", targetFormat: "openai-responses" },
{ id: "gpt-5.5", name: "GPT-5.5", ...GPT_5_5_CODEX_CAPABILITIES },
- { id: "claude-haiku-4.5", name: "Claude Haiku 4.5" },
- { id: "claude-sonnet-4.5", name: "Claude Sonnet 4.5" },
- { id: "claude-sonnet-4.6", name: "Claude Sonnet 4.6" },
- { id: "claude-opus-4-5-20251101", name: "Claude Opus 4.5 (Full ID)" },
- { id: "claude-opus-4.6", name: "Claude Opus 4.6" },
- { id: "claude-opus-4.7", name: "Claude Opus 4.7" },
- { id: "gemini-3.1-pro-preview", name: "Gemini 3.1 Pro" },
- { id: "gemini-3-flash-preview", name: "Gemini 3 Flash" },
- { id: "oswe-vscode-prime", name: "Raptor Mini" },
+ { id: "claude-haiku-4.5", name: "Claude Haiku 4.5", targetFormat: "openai-responses" },
+ { id: "claude-sonnet-4.5", name: "Claude Sonnet 4.5", targetFormat: "openai-responses" },
+ { id: "claude-sonnet-4.6", name: "Claude Sonnet 4.6", targetFormat: "openai-responses" },
+ { id: "claude-opus-4-5-20251101", name: "Claude Opus 4.5 (Full ID)", targetFormat: "openai-responses" },
+ { id: "claude-opus-4.6", name: "Claude Opus 4.6", targetFormat: "openai-responses" },
+ { id: "claude-opus-4.7", name: "Claude Opus 4.7", targetFormat: "openai-responses" },
+ { id: "gemini-3.1-pro-preview", name: "Gemini 3.1 Pro", targetFormat: "openai-responses" },
+ { id: "gemini-3-flash-preview", name: "Gemini 3 Flash", targetFormat: "openai-responses" },
+ { id: "oswe-vscode-prime", name: "Raptor Mini", targetFormat: "openai-responses" },
//{ id: "?", name: "Goldeneye" },
],
},