mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-17 10:57:59 +00:00
Trigger event, when AI stream ends
This commit is contained in:
1 file changed
+3
@@ -83,6 +83,9 @@ public partial class ContentBlockComponent : ComponentBase
|
|||||||
|
|
||||||
// Let Blazor update the UI, i.e., to see the render tree diff:
|
// Let Blazor update the UI, i.e., to see the render tree diff:
|
||||||
this.StateHasChanged();
|
this.StateHasChanged();
|
||||||
|
|
||||||
|
// Inform the chat that the streaming is done:
|
||||||
|
await MessageBus.INSTANCE.SendMessage<bool>(this, Event.CHAT_STREAMING_DONE);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user