Fixed incomplete assistant result cleanup

This commit is contained in:
Thorsten Sommer 2026-08-06 12:12:28 +02:00
parent 4d278c894b
commit f64fcad00f
Signed by untrusted user who does not match committer: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 3 additions and 2 deletions

View File

@ -662,6 +662,7 @@ public abstract partial class AssistantBase<TSettings> : AssistantLowerBase wher
this.ResultingContentBlock = null; this.ResultingContentBlock = null;
this.ProviderSettings = Settings.Provider.NONE; this.ProviderSettings = Settings.Provider.NONE;
await this.JsRuntime.ClearDiv(BEFORE_RESULT_DIV_ID);
await this.JsRuntime.ClearDiv(RESULT_DIV_ID); await this.JsRuntime.ClearDiv(RESULT_DIV_ID);
await this.JsRuntime.ClearDiv(AFTER_RESULT_DIV_ID); await this.JsRuntime.ClearDiv(AFTER_RESULT_DIV_ID);

View File

@ -6,6 +6,6 @@
- Added the option to import plugins by dropping a plugin archive onto the plugin page. - Added the option to import plugins by dropping a plugin archive onto the plugin page.
- Added the dedicated file extension `.mwplugin` for plugin archives. - Added the dedicated file extension `.mwplugin` for plugin archives.
- Added an option for organizations to disable importing, sharing, and exporting plugins. - Added an option for organizations to disable importing, sharing, and exporting plugins.
- Fixed the reset button in the document analysis assistant so that the previous result is cleared. - Fixed reset buttons in assistants. As you may have noticed in the Document Analysis Assistant, resetting it could leave content from the previous analysis visible. Reset buttons now clear previous results completely.
- Fixed dropping files after you closed a dialog that accepts files itself. Such a dialog takes over dropped files while it is open, but never handed that role back when you closed it. Afterwards, the chat and the assistants silently ignored dropped files until you switched to another page. Each time you opened such a dialog again, the problem got worse. - Fixed dropping files after you closed a dialog that accepts files itself. Such a dialog takes over dropped files while it is open, but never handed that role back when you closed it. Afterwards, the chat and the assistants silently ignored dropped files until you switched to another page. Each time you opened such a dialog again, the problem got worse.
- Upgraded dependencies to their latest versions to improve security and stability. - Upgraded dependencies to their latest versions to improve security and stability.