mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-05 06:04:35 +00:00
Kept the inputs of assistants when you leave them (#1209)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
1fbc1f4796
commit
7e2f83b19b
83 files changed
+1924
-347
No files matched your search
@@ -1,5 +1,5 @@
|
||||
using AIStudio.Dialogs;
|
||||
using AIStudio.Tools.Media;
|
||||
using AIStudio.Tools.Imports;
|
||||
using AIStudio.Tools.PluginSystem;
|
||||
using AIStudio.Tools.Services;
|
||||
|
||||
@@ -168,9 +168,9 @@ public partial class PluginDeleteAction : MSGComponentBase
|
||||
return await dialog.Result is { Canceled: false };
|
||||
}
|
||||
|
||||
private void OnMediaTranscriptionStateChanged(MediaImportOwner owner)
|
||||
private void OnMediaTranscriptionStateChanged(ImportOwner owner)
|
||||
{
|
||||
if (owner.Kind is MediaImportOwnerKind.ASSISTANT && owner.Id.EndsWith($":{this.Plugin.Id}", StringComparison.Ordinal))
|
||||
if (owner.Kind is ImportOwnerKind.ASSISTANT && owner.Id.EndsWith($":{this.Plugin.Id}", StringComparison.Ordinal))
|
||||
this.InvokeAsync(this.StateHasChanged).Observe($"{nameof(PluginDeleteAction)}: rendering a transcription state change");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user