AI-Studio/app/MindWork AI Studio/Tools/SendToButton.cs

15 lines
395 B
C#
Raw Normal View History

2024-08-18 10:32:18 +00:00
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;
}