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

Function getConfiguredProviders

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

Source from the content-addressed store, hash-verified

229}
230
231export function getConfiguredProviders(): Record<string, ConfiguredProvider> {
232 const settings = getInitialSettings()
233 return Object.fromEntries(
234 Object.entries(settings.providers ?? {}).map(([id, provider]) => [
235 id,
236 toConfiguredProvider(id, provider),
237 ]),
238 )
239}
240
241export function getConfiguredProviderId(): string | undefined {
242 const envProviderId = getEnvSelectedProviderId()

Callers 2

getProviderConfigByIdFunction · 0.85
getAllProviderConfigsFunction · 0.85

Calls 3

getInitialSettingsFunction · 0.85
toConfiguredProviderFunction · 0.85
entriesMethod · 0.80

Tested by

no test coverage detected