MCPcopy Create free account
hub / github.com/dwgx/WindsurfAPI / getEffectiveProxy

Function getEffectiveProxy

src/dashboard/proxy-config.js:106–111  ·  view source on GitHub ↗
(accountId)

Source from the content-addressed store, hash-verified

104 * Get effective proxy for an account (per-account takes priority over global).
105 */
106export function getEffectiveProxy(accountId) {
107 if (accountId && _config.perAccount[accountId]) {
108 return _config.perAccount[accountId];
109 }
110 return _config.global;
111}

Callers 15

accountLsMaintenanceFunction · 0.90
getApiKeyFunction · 0.90
acquireAccountByKeyFunction · 0.90
ensureLsForAccountFunction · 0.90
getLsAdmissionForAccountFunction · 0.90
publicAccountFunction · 0.90
refreshCreditsFunction · 0.90
fetchUserStatusFunction · 0.90
_probeAccountImplFunction · 0.90
refreshAllFirebaseTokensFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected