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

Function isOpenPlatformId

packages/oauth/src/open-platform.ts:43–45  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

41}
42
43export function isOpenPlatformId(id: string): boolean {
44 return OPEN_PLATFORMS.some((p) => p.id === id);
45}
46
47function toModelInfo(item: unknown): ManagedKimiCodeModelInfo | undefined {
48 if (!isRecord(item) || typeof item['id'] !== 'string' || item['id'].length === 0) {

Callers 3

refreshProviderModelsFunction · 0.90
buildRowsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected