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: add provider-level proxy button in Connections header
diegosouzapw5a65585c1656
diff --git a/src/app/(dashboard)/dashboard/providers/[id]/page.tsx b/src/app/(dashboard)/dashboard/providers/[id]/page.tsxindex e9f7a74934..43d86e1fed 100644--- a/src/app/(dashboard)/dashboard/providers/[id]/page.tsx+++ b/src/app/(dashboard)/dashboard/providers/[id]/page.tsx@@ -839,7 +839,34 @@ export default function ProviderDetailPage() {{/* Connections */}<Card><div className="flex items-center justify-between mb-4">- <h2 className="text-lg font-semibold">Connections</h2>+ <div className="flex items-center gap-3">+ <h2 className="text-lg font-semibold">Connections</h2>+ {/* Provider-level proxy indicator/button */}+ <button+ onClick={() =>+ setProxyTarget({+ level: "provider",+ id: providerId,+ label: providerInfo?.name || providerId,+ })+ }+ className={`inline-flex items-center gap-1 px-2 py-1 rounded text-xs font-medium transition-all ${+ proxyConfig?.providers?.[providerId]+ ? "bg-amber-500/15 text-amber-500 hover:bg-amber-500/25"+ : "bg-black/[0.03] dark:bg-white/[0.03] text-text-muted/50 hover:text-text-muted hover:bg-black/[0.06] dark:hover:bg-white/[0.06]"+ }`}+ title={+ proxyConfig?.providers?.[providerId]+ ? `Provider proxy: ${proxyConfig.providers[providerId].host || "configured"}`+ : "Configure proxy for all connections of this provider"+ }+ >+ <span className="material-symbols-outlined text-[14px]">vpn_lock</span>+ {proxyConfig?.providers?.[providerId]+ ? proxyConfig.providers[providerId].host || "Provider Proxy"+ : "Provider Proxy"}+ </button>+ </div>{!isCompatible && (<Buttonsize="sm"