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
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
fix: resolve phase 2 bug issues (#935, #927, #867, #936)
diegosouzapw61b7203062b6
diff --git a/open-sse/translator/request/openai-to-gemini.ts b/open-sse/translator/request/openai-to-gemini.tsindex 45c23c6964..fafe9c6796 100644--- a/open-sse/translator/request/openai-to-gemini.ts+++ b/open-sse/translator/request/openai-to-gemini.ts@@ -156,7 +156,6 @@ function openaiToGeminiBase(model, body, stream) {});parts.push({thoughtSignature: DEFAULT_THINKING_GEMINI_SIGNATURE,- text: "",});}@@ -175,7 +174,6 @@ function openaiToGeminiBase(model, body, stream) {if (!hasSignatureAlready) {parts.push({thoughtSignature: DEFAULT_THINKING_GEMINI_SIGNATURE,- text: "",});}diff --git a/src/shared/services/cliRuntime.ts b/src/shared/services/cliRuntime.tsindex 29f8306123..86da91a085 100644--- a/src/shared/services/cliRuntime.ts+++ b/src/shared/services/cliRuntime.ts@@ -660,7 +660,13 @@ const checkRunnable = async (const minimalEnv: Record<string, string | undefined> = {PATH: env.PATH,HOME: env.HOME || env.USERPROFILE,+ USERPROFILE: env.USERPROFILE, // Windows needs this for os.homedir()+ APPDATA: env.APPDATA, // Many npm CLI tools rely on APPDATA+ LOCALAPPDATA: env.LOCALAPPDATA,+ TEMP: env.TEMP,+ TMP: env.TMP,SystemRoot: env.SystemRoot, // Windows needs this+ ComSpec: env.ComSpec, // Windows shellPATHEXT: env.PATHEXT, // Windows cmd.exe needs this to resolve .cmd/.bat/.exe extensions};diff --git a/src/shared/utils/apiKey.ts b/src/shared/utils/apiKey.tsindex abfa2f9e5e..2832d978b5 100644--- a/src/shared/utils/apiKey.ts+++ b/src/shared/utils/apiKey.ts@@ -6,7 +6,7 @@ if (!process.env.API_KEY_SECRET) {}function getApiKeySecret(): string {- const secret = process.env.API_KEY_SECRET;+ const secret = process.env.API_KEY_SECRET || "omniroute-default-insecure-api-key-secret";if (!secret || secret.trim() === "") {throw new Error("API_KEY_SECRET is required for API key CRC operations");}