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(dashboard): post-release UI and proxy connection regressions

diegosouzapwe0a539bc64f9
diff --git a/open-sse/services/usage.ts b/open-sse/services/usage.ts
index f2be04086e..f9d502e8d0 100644
--- a/open-sse/services/usage.ts
+++ b/open-sse/services/usage.ts
@@ -856,7 +856,7 @@ async function getCodexUsage(accessToken, providerSpecificData: Record<string, u
quotas,
};
} catch (error) {
- throw new Error(`Failed to fetch Codex usage: ${error.message}`);
+ return { message: `Failed to fetch Codex usage: ${(error as Error).message}` };
}
}
diff --git a/src/app/(dashboard)/dashboard/providers/[id]/page.tsx b/src/app/(dashboard)/dashboard/providers/[id]/page.tsx
index 14f0043e3e..4724289e0e 100644
--- a/src/app/(dashboard)/dashboard/providers/[id]/page.tsx
+++ b/src/app/(dashboard)/dashboard/providers/[id]/page.tsx
@@ -3847,10 +3847,9 @@ function ConnectionRow({
{connection.lastError && connection.isActive !== false && (
<span
className={`text-xs truncate max-w-[300px] ${statusPresentation.errorTextClass}`}
- title={connection.lastError}
- >
- {connection.lastError}
- </span>
+ title={connection.lastError.replace(/<[^>]*>?/gm, "")}
+ dangerouslySetInnerHTML={{ __html: connection.lastError }}
+ />
)}
<span className="text-xs text-text-muted">#{connection.priority}</span>
{connection.globalPriority && (
diff --git a/src/app/(dashboard)/dashboard/settings/components/ProxyRegistryManager.tsx b/src/app/(dashboard)/dashboard/settings/components/ProxyRegistryManager.tsx
index 2649d4ece1..42b1312ee0 100644
--- a/src/app/(dashboard)/dashboard/settings/components/ProxyRegistryManager.tsx
+++ b/src/app/(dashboard)/dashboard/settings/components/ProxyRegistryManager.tsx
@@ -9,6 +9,8 @@ type ProxyItem = {
type: string;
host: string;
port: number;
+ username?: string | null;
+ password?: string | null;
region?: string | null;
notes?: string | null;
status?: string;
@@ -211,6 +213,8 @@ export default function ProxyRegistryManager() {
type: item.type || "http",
host: item.host,
port: String(item.port || 8080),
+ username: item.username,
+ password: item.password,
},
}),
});