(modelId: string)
| 70 | const EXPLANATION_CACHE_SIZE = 32; |
| 71 | const initialModel = BROWSER_MODELS.find(model => model.availability === 'available')!; |
| 72 | const cachedInBrowser = (modelId: string) => isBrowserModelCached(getBrowserModel(modelId)).catch(() => false); |
| 73 | const messageOf = (error: unknown): string => error instanceof Error ? error.message : String(error); |
| 74 | /** The names a Galaxy selection goes by: its label and its symbols with their qualified names. */ |
| 75 | const galaxyNames = (galaxy: GalaxyEvidence): string[] => [galaxy.label, ...galaxy.roots.flatMap(root => [root.name, root.qualifiedName ?? ''])].filter(Boolean); |
nothing calls this directly
no test coverage detected