mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-18 11:38:00 +00:00
All assistants now have a button to copy their respective result to the clipboard (#86)
This commit is contained in:
1 parent
18718a6c47
commit
3409872090
5 files changed
+16
-4
No files matched your search
@@ -26,10 +26,11 @@ public partial class AssistantRewriteImprove : AssistantBaseCore
|
||||
protected override bool ShowResult => false;
|
||||
|
||||
protected override bool ShowDedicatedProgress => true;
|
||||
|
||||
protected override Func<string> Result2Copy => () => this.rewrittenText;
|
||||
|
||||
protected override IReadOnlyList<IButtonData> FooterButtons =>
|
||||
[
|
||||
new ButtonData("Copy result", Icons.Material.Filled.ContentCopy, Color.Default, string.Empty, () => this.CopyToClipboard(this.rewrittenText)),
|
||||
new SendToButton
|
||||
{
|
||||
Self = SendTo.REWRITE_ASSISTANT,
|
||||
|
||||
Reference in new issue
Block a user