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