diff --git a/app/MindWork AI Studio/Chat/ContentBlockComponent.razor.cs b/app/MindWork AI Studio/Chat/ContentBlockComponent.razor.cs index 756d3a61..a017b76b 100644 --- a/app/MindWork AI Studio/Chat/ContentBlockComponent.razor.cs +++ b/app/MindWork AI Studio/Chat/ContentBlockComponent.razor.cs @@ -83,6 +83,9 @@ public partial class ContentBlockComponent : ComponentBase // Let Blazor update the UI, i.e., to see the render tree diff: this.StateHasChanged(); + + // Inform the chat that the streaming is done: + await MessageBus.INSTANCE.SendMessage(this, Event.CHAT_STREAMING_DONE); }); }