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
feat(ui): replace cryptic error badges with human-readable labels
oyi778a23c5527e66
diff --git a/src/app/(dashboard)/dashboard/providers/page.tsx b/src/app/(dashboard)/dashboard/providers/page.tsxindex ab3a1c583b..4c752a757c 100644--- a/src/app/(dashboard)/dashboard/providers/page.tsx+++ b/src/app/(dashboard)/dashboard/providers/page.tsx@@ -65,18 +65,18 @@ function getConnectionErrorTag(connection) {if (!connection) return null;const explicitType = connection.lastErrorType;- if (explicitType === "runtime_error") return "RUNTIME";+ if (explicitType === "runtime_error") return "Runtime";if (explicitType === "upstream_auth_error" ||explicitType === "auth_missing" ||explicitType === "token_refresh_failed" ||explicitType === "token_expired") {- return "AUTH";+ return "Auth";}- if (explicitType === "upstream_rate_limited") return "429";- if (explicitType === "upstream_unavailable") return "5XX";- if (explicitType === "network_error") return "NET";+ if (explicitType === "upstream_rate_limited") return "Rate limited";+ if (explicitType === "upstream_unavailable") return "Server error";+ if (explicitType === "network_error") return "Network";const numericCode = Number(connection.errorCode);if (Number.isFinite(numericCode) && numericCode >= 400) {@@ -84,19 +84,19 @@ function getConnectionErrorTag(connection) {}const fromMessage = getErrorCode(connection.lastError);- if (fromMessage === "401" || fromMessage === "403") return "AUTH";+ if (fromMessage === "401" || fromMessage === "403") return "Auth";if (fromMessage && fromMessage !== "ERR") return fromMessage;const msg = (connection.lastError || "").toLowerCase();if (msg.includes("runtime") || msg.includes("not runnable") || msg.includes("not installed"))- return "RUNTIME";+ return "Runtime";if (msg.includes("invalid api key") ||msg.includes("token invalid") ||msg.includes("revoked") ||msg.includes("unauthorized"))- return "AUTH";+ return "Auth";return "ERR";}