(modelId: string)
| 145 | |
| 146 | // Get a specific downloaded model |
| 147 | getDownloadedModel(modelId: string): LocalModel | undefined { |
| 148 | const models = this.getDownloadedModels(); |
| 149 | return models.find(m => m.id === modelId); |
| 150 | } |
| 151 | |
| 152 | // Cleanup old models to free space |
| 153 | async cleanupOldModels(targetSpaceMB: number = 2000): Promise<string[]> { |
nothing calls this directly
no test coverage detected