Removed deferred content handling from DocumentAnalysisAssistant

This commit is contained in:
Thorsten Sommer 2026-01-27 08:10:11 +01:00
parent 9fc5c809b0
commit 1e4eb7c725
Signed by untrusted user who does not match committer: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 1 additions and 7 deletions

View File

@ -205,11 +205,6 @@ public partial class DocumentAnalysisAssistant : AssistantBaseCore<SettingsDialo
}
this.policyDefinitionExpanded = !this.selectedPolicy?.IsProtected ?? true;
var receivedDeferredContent = MessageBus.INSTANCE.CheckDeferredMessages<string>(Event.SEND_TO_DOCUMENT_ANALYSIS_ASSISTANT).FirstOrDefault();
if (receivedDeferredContent is not null)
this.deferredContent = receivedDeferredContent;
await base.OnInitializedAsync();
}
@ -244,8 +239,6 @@ public partial class DocumentAnalysisAssistant : AssistantBaseCore<SettingsDialo
private string policyDescription = string.Empty;
private string policyAnalysisRules = string.Empty;
private string policyOutputRules = string.Empty;
#warning Use deferred content for document analysis
private string deferredContent = string.Empty;
private HashSet<FileAttachment> loadedDocumentPaths = [];
private bool IsNoPolicySelectedOrProtected => this.selectedPolicy is null || this.selectedPolicy.IsProtected;

View File

@ -16,6 +16,7 @@ public static class ComponentsExtensions
Components.ERI_ASSISTANT => false,
Components.BIAS_DAY_ASSISTANT => false,
Components.I18N_ASSISTANT => false,
Components.DOCUMENT_ANALYSIS_ASSISTANT => false,
Components.APP_SETTINGS => false,