mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-11 20:32:11 +00:00
17 lines
424 B
C#
17 lines
424 B
C#
using AIStudio.Components;
|
|
using AIStudio.Tools.Security;
|
|
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace AIStudio.Dialogs;
|
|
|
|
public partial class PromptInjectionAlertDialog : MSGComponentBase
|
|
{
|
|
[CascadingParameter]
|
|
private IMudDialogInstance MudDialog { get; set; } = null!;
|
|
|
|
[Parameter]
|
|
public PromptInjectionScanResult Result { get; set; } = null!;
|
|
|
|
private void Close() => this.MudDialog.Close();
|
|
} |