diff --git a/app/MindWork AI Studio/Chat/ContentBlockComponent.razor.cs b/app/MindWork AI Studio/Chat/ContentBlockComponent.razor.cs index a017b76b..2bef5f9c 100644 --- a/app/MindWork AI Studio/Chat/ContentBlockComponent.razor.cs +++ b/app/MindWork AI Studio/Chat/ContentBlockComponent.razor.cs @@ -64,7 +64,7 @@ public partial class ContentBlockComponent : ComponentBase private async Task AfterStreaming() { // Might be called from a different thread, so we need to invoke the UI thread: - await this.InvokeAsync(() => + await this.InvokeAsync(async () => { // // Issue we try to solve: When the content changes during streaming,