MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / readProvider

Function readProvider

packages/oauth/src/refreshProviderModels.ts:74–81  ·  view source on GitHub ↗
(
  config: ManagedKimiConfigShape,
  providerId: string,
)

Source from the content-addressed store, hash-verified

72}
73
74function readProvider(
75 config: ManagedKimiConfigShape,
76 providerId: string,
77): ProviderView | undefined {
78 const provider = config.providers[providerId];
79 if (provider === undefined) return undefined;
80 return provider as ProviderView;
81}
82
83function readModel(
84 config: ManagedKimiConfigShape,

Callers 1

refreshProviderModelsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected