mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 01:47:21 +00:00
Added a Send to menu to every chat message and kept restrictions when sending content on (#1124)
This commit is contained in:
1 parent
d06688ca08
commit
bf54b8cd0d
73 files changed
+1923
-390
No files matched your search
@@ -8,6 +8,7 @@
|
||||
@if (this.ChatThread is not null)
|
||||
{
|
||||
var blocks = this.ChatThread.Blocks.OrderBy(n => n.Time).ToList();
|
||||
var sendToDestinations = this.AssistantLaunchService.GetDestinationsFor(Components.CHAT);
|
||||
for (var i = 0; i < blocks.Count; i++)
|
||||
{
|
||||
var block = blocks[i];
|
||||
@@ -30,7 +31,9 @@
|
||||
RollbackFunc="@this.RollbackBlock"
|
||||
BlockActionsEnabled="@(() => this.blockActions.AreAllowed(this.ChatThread))"
|
||||
EditLastBlockFunc="@this.EditLastBlock"
|
||||
EditLastUserBlockFunc="@this.EditLastUserBlock"/>
|
||||
EditLastUserBlockFunc="@this.EditLastUserBlock"
|
||||
SendToFunc="@this.SendBlockToAsync"
|
||||
SendToDestinations="@sendToDestinations"/>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user