MCPcopy Create free account
hub / github.com/Datakitpage/Datakit / handleDownloadError

Method handleDownloadError

frontend/src/lib/ai/modelManager.ts:233–241  ·  view source on GitHub ↗
(modelId: string, error: string)

Source from the content-addressed store, hash-verified

231
232 // Handle download error
233 handleDownloadError(modelId: string, error: string): void {
234 this.emitProgress({
235 modelId: modelId,
236 progress: 0,
237 stage: 'error',
238 message: 'Download failed',
239 error: error,
240 });
241 }
242
243 // Get recommended models for cleanup
244 getRecommendedCleanup(): LocalModel[] {

Callers 1

handleDownloadModelFunction · 0.80

Calls 1

emitProgressMethod · 0.95

Tested by

no test coverage detected