Skip to content

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

fix: remove unnecessary comment from previous commit

Chris Staley89eb8885b199
diff --git a/src/app/(dashboard)/dashboard/providers/[id]/page.tsx b/src/app/(dashboard)/dashboard/providers/[id]/page.tsx
index 6da47e5bdb..df28fc9089 100644
--- a/src/app/(dashboard)/dashboard/providers/[id]/page.tsx
+++ b/src/app/(dashboard)/dashboard/providers/[id]/page.tsx
@@ -988,12 +988,6 @@ export default function ProviderDetailPage() {
}
}, [loading, connections, loadConnProxies]);
- // NOTE: Removed auto-open of Add Connection modal when no connections exist.
- // The page already shows a clear "No connections yet" empty state with an
- // "Add Connection" button. Auto-opening the modal was a poor UX pattern that
- // surprised users navigating to a provider detail page — especially when
- // re-visiting a provider after deleting a connection. Users should explicitly
- // click the button when they're ready to connect.
const handleSetAlias = async (modelId, alias, providerAliasOverride = providerAlias) => {
const fullModel = `${providerAliasOverride}/${modelId}`;