Browse Source

Actually subscribe the event handler

pull/165/head
Ionite 1 year ago
parent
commit
b2f03299bd
No known key found for this signature in database
  1. 1
      StabilityMatrix.Avalonia/ViewModels/Base/InferenceGenerationViewModelBase.cs

1
StabilityMatrix.Avalonia/ViewModels/Base/InferenceGenerationViewModelBase.cs

@ -132,6 +132,7 @@ public abstract partial class InferenceGenerationViewModelBase
// Register progress handler
promptTask.ProgressUpdate += OnProgressUpdateReceived;
promptTask.RunningNodeChanged += OnRunningNodeChanged;
// Wait for prompt to finish
await promptTask.Task.WaitAsync(cancellationToken);

Loading…
Cancel
Save