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

Function getConfiguredCustomModels

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

Source from the content-addressed store, hash-verified

353}
354
355export function getConfiguredCustomModels(): string[] | undefined {
356 const configuredModels = getActiveProviderConfig().models
357 if (configuredModels && configuredModels.length > 0) {
358 return configuredModels
359 }
360
361 return process.env.ANTHROPIC_CUSTOM_MODEL_OPTION
362 ? [process.env.ANTHROPIC_CUSTOM_MODEL_OPTION]
363 : undefined
364}
365
366export function getConfiguredProviderApiKey(): string | undefined {
367 const apiKeyEnv = getActiveProviderConfig().apiKeyEnv

Callers 1

Calls 1

getActiveProviderConfigFunction · 0.85

Tested by

no test coverage detected