fix: update model identifier handling in RecipeModal and DownloadManager for consistency

This commit is contained in:
Will Miao
2025-08-11 17:13:42 +08:00
parent c9289ed2dc
commit 425c33ae00
2 changed files with 2 additions and 4 deletions

View File

@@ -201,11 +201,10 @@ export class DownloadManager {
updateProgress(0, completedDownloads, lora.name);
try {
console.log(`lora:`, lora);
// Download the LoRA with download ID
const response = await getModelApiClient(MODEL_TYPES.LORA).downloadModel(
lora.modelId,
lora.modelVersionId,
lora.id,
loraRoot,
targetPath.replace(loraRoot + '/', ''),
batchDownloadId