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(tests): resolve stream readiness regression in chatcore translation tests
diegosouzapw2f905598e853
diff --git a/tests/unit/chatcore-translation-paths.test.ts b/tests/unit/chatcore-translation-paths.test.tsindex 3b3274a467..6eb72e4b0c 100644--- a/tests/unit/chatcore-translation-paths.test.ts+++ b/tests/unit/chatcore-translation-paths.test.ts@@ -324,7 +324,7 @@ async function invokeChatCore({return responseFactory(captured, calls);}- const upstreamStream = String(headers.accept || "")+ const upstreamStream = String(headers.Accept || headers.accept || "").toLowerCase().includes("text/event-stream");if (responseFormat === "claude") return buildClaudeResponse(upstreamStream);