(modelId: string)
| 139 | |
| 140 | // Check if a model is downloaded |
| 141 | isModelDownloaded(modelId: string): boolean { |
| 142 | const models = this.getDownloadedModels(); |
| 143 | return models.some(m => m.id === modelId && m.isDownloaded); |
| 144 | } |
| 145 | |
| 146 | // Get a specific downloaded model |
| 147 | getDownloadedModel(modelId: string): LocalModel | undefined { |
nothing calls this directly
no test coverage detected