Add CurrentImage property to GenerationRequest model for preview functionality and update StableDiffusionNetAdapter to include current image in progress tracking. Update AIImages.dll to reflect these changes.

This commit is contained in:
Leonid Pershin
2025-10-27 00:08:06 +03:00
parent 379865a6aa
commit 9e675dd804
3 changed files with 6 additions and 0 deletions

View File

@@ -156,6 +156,7 @@ namespace AIImages.Services
TotalSteps = progress.State?.SamplingSteps ?? 0,
EtaRelative = progress.EtaRelative,
IsActive = progress.Progress > 0 && progress.Progress < 1.0,
CurrentImage = progress.CurrentImage, // Превью текущего состояния генерации
};
}
catch (Exception ex)