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
test: update Antigravity usage fetcher test URLs for CC compatible toggle parity
diegosouzapw949a7a618fb7
diff --git a/tests/unit/usage-fetcher-antigravity.test.ts b/tests/unit/usage-fetcher-antigravity.test.tsindex 3c33840f47..5d34e266e0 100644--- a/tests/unit/usage-fetcher-antigravity.test.ts+++ b/tests/unit/usage-fetcher-antigravity.test.ts@@ -15,7 +15,8 @@ test("usage fetcher retries Antigravity quota discovery across shared fallback UglobalThis.fetch = async (url, init = {}) => {calls.push({ url: String(url), init });- if (String(url).includes("daily-cloudcode-pa.googleapis.com")) {+ // Mock the first two to fail with 503+ if (String(url).includes("cloudcode-pa.googleapis.com") && !String(url).includes("sandbox")) {// lgtm[js/incomplete-url-substring-sanitization]return new Response("unavailable", { status: 503 });}@@ -44,6 +45,7 @@ test("usage fetcher retries Antigravity quota discovery across shared fallback Uassert.deepEqual(calls.map((call) => call.url),[+ "https://cloudcode-pa.googleapis.com/v1internal:fetchAvailableModels","https://daily-cloudcode-pa.googleapis.com/v1internal:fetchAvailableModels","https://daily-cloudcode-pa.sandbox.googleapis.com/v1internal:fetchAvailableModels",]