mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 06:32:12 -03:00
refactor: enhance recipe fingerprint calculation and return detailed recipe information; remove unnecessary console logs in import managers
This commit is contained in:
@@ -170,8 +170,6 @@ export class ImageProcessor {
|
||||
// Get recipe data from response
|
||||
this.importManager.recipeData = await response.json();
|
||||
|
||||
console.log('Recipe data:', this.importManager.recipeData);
|
||||
|
||||
// Check if we have an error message
|
||||
if (this.importManager.recipeData.error) {
|
||||
throw new Error(this.importManager.recipeData.error);
|
||||
@@ -184,11 +182,6 @@ export class ImageProcessor {
|
||||
throw new Error('No LoRA information found in this image');
|
||||
}
|
||||
|
||||
// Store generation parameters if available
|
||||
if (this.importManager.recipeData.gen_params) {
|
||||
console.log('Generation parameters found:', this.importManager.recipeData.gen_params);
|
||||
}
|
||||
|
||||
// Find missing LoRAs
|
||||
this.importManager.missingLoras = this.importManager.recipeData.loras.filter(
|
||||
lora => !lora.existsLocally
|
||||
|
||||
Reference in New Issue
Block a user