MCPcopy Create free account
hub / github.com/oboard/claude-code-rev / getAllProviderConfigs

Function getAllProviderConfigs

src/utils/model/providerConfig.ts:306–315  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

304}
305
306export function getAllProviderConfigs(): ActiveProviderConfig[] {
307 const customProviderIds = Object.keys(getConfiguredProviders())
308 .filter(providerId => !isBuiltinProviderId(providerId))
309 .sort((a, b) => a.localeCompare(b))
310
311 return [
312 ...BUILTIN_PROVIDER_ORDER.map(providerId => getProviderConfigById(providerId)),
313 ...customProviderIds.map(providerId => getProviderConfigById(providerId)),
314 ]
315}
316
317export function getSuggestedModelForProvider(
318 providerId: string,

Callers 4

ProviderPickerFunction · 0.85
resolveProviderArgFunction · 0.85
SetProviderAndCloseFunction · 0.85
callFunction · 0.85

Calls 4

getConfiguredProvidersFunction · 0.85
isBuiltinProviderIdFunction · 0.85
getProviderConfigByIdFunction · 0.85
keysMethod · 0.80

Tested by

no test coverage detected