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 - {connection.lastError} - + title={connection.lastError.replace(/<[^>]*>?/gm, "")} + dangerouslySetInnerHTML={{ __html: connection.lastError }} + /> )} #{connection.priority} {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, }, }), });