mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-02-06 02:29:05 +00:00
15 lines
395 B
C#
15 lines
395 B
C#
|
using AIStudio.Components.Pages;
|
||
|
|
||
|
namespace AIStudio.Tools;
|
||
|
|
||
|
public readonly record struct SendToButton() : IButtonData
|
||
|
{
|
||
|
public ButtonTypes Type => ButtonTypes.SEND_TO;
|
||
|
|
||
|
public Func<string> GetData { get; init; } = () => string.Empty;
|
||
|
|
||
|
public bool UseResultingContentBlockData { get; init; } = true;
|
||
|
|
||
|
public SendToAssistant Self { get; init; } = SendToAssistant.NONE;
|
||
|
|
||
|
}
|