mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-05-02 08:59:48 +00:00
Trigger event, when AI stream ends
This commit is contained in:
parent
90aaa0446f
commit
6d468d361a
@ -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<bool>(this, Event.CHAT_STREAMING_DONE);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user