mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-15 14:53:48 +00:00
Allow us to hide some messages from the user
This commit is contained in:
3 files changed
+12
-3
No files matched your search
@@ -22,7 +22,10 @@
|
||||
{
|
||||
foreach (var block in this.chatThread.Blocks.OrderBy(n => n.Time))
|
||||
{
|
||||
<ContentBlockComponent Role="@block.Role" Type="@block.ContentType" Time="@block.Time" Content="@block.Content"/>
|
||||
@if (!block.HideFromUser)
|
||||
{
|
||||
<ContentBlockComponent Role="@block.Role" Type="@block.ContentType" Time="@block.Time" Content="@block.Content"/>
|
||||
}
|
||||
}
|
||||
}
|
||||
</ChildContent>
|
||||
|
||||
Reference in new issue
Block a user