Fixed state after assistant plugins resets

This commit is contained in:
Thorsten Sommer 2026-07-21 09:42:50 +02:00
parent 0ab293c473
commit a8169bc6b4
Signed by untrusted user who does not match committer: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 13 additions and 2 deletions

View File

@ -91,6 +91,17 @@ public partial class ReadFileContent : MSGComponentBase
#region Overrides of MSGComponentBase
protected override void OnParametersSet()
{
if (string.IsNullOrWhiteSpace(this.FileContent))
{
this.hasLoadedFileContent = false;
this.loadedFileName = string.Empty;
}
base.OnParametersSet();
}
protected override async Task OnInitializedAsync()
{
this.MediaTranscriptionService.StateChanged += this.OnMediaImportStateChanged;
@ -398,4 +409,4 @@ public partial class ReadFileContent : MSGComponentBase
this.ClearDragClass();
this.StateHasChanged();
}
}
}

View File

@ -9,7 +9,7 @@
- Improved update guidance for Flatpak installations and added an enterprise option that lets organizations manage updates entirely through their IT department.
- Improved secure API-key storage diagnostics on Linux. AI Studio now provides specific guidance when the default password collection is missing or locked, a password-manager prompt is dismissed, or no compatible Secret Service is available.
- Improved the file dialogs to prevent opening multiple times when you click "Open" or "Save" multiple times in a row.
- Improved assistant plugins so they clearly indicate when content from a document has been loaded.
- Improved assistant plugins so they clearly indicate when content from a document has been loaded and clear the indicator when the assistant is reset.
- Fixed an issue that could leave AI Studio unresponsive after waking the computer from sleep. Yes, we know this was an annoying bug, and we apologize for the inconvenience.
- Fixed connections to internal HTTPS services and enterprise configuration servers that use organization-provided root certificates on Linux.
- Fixed enterprise configuration plugins from Windows-created ZIP files may not load correctly on Linux when the ZIP contained plugin files inside a folder.