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

Function getConfiguredProviderModel

src/utils/model/model.ts:37–47  ·  view source on GitHub ↗
(
  key: 'defaultModel' | 'smallFastModel',
)

Source from the content-addressed store, hash-verified

35export type ModelSetting = ModelName | ModelAlias | null
36
37function getConfiguredProviderModel(
38 key: 'defaultModel' | 'smallFastModel',
39): string | undefined {
40 const providerConfig = getActiveProviderConfig() as
41 | Record<string, unknown>
42 | undefined
43 const configuredModel = providerConfig?.[key]
44 return typeof configuredModel === 'string' && configuredModel.length > 0
45 ? configuredModel
46 : undefined
47}
48
49export function getSmallFastModel(): ModelName {
50 return (

Callers 2

getSmallFastModelFunction · 0.85

Calls 1

getActiveProviderConfigFunction · 0.85

Tested by

no test coverage detected