AI-Studio/app/MindWork AI Studio/Components/Settings/SettingsPanelBase.cs
2026-02-05 10:35:20 +01:00

21 lines
572 B
C#

using AIStudio.Settings;
using AIStudio.Tools.Services;
using Microsoft.AspNetCore.Components;
namespace AIStudio.Components.Settings;
public abstract class SettingsPanelBase : MSGComponentBase
{
[Parameter]
public Func<IReadOnlyList<ConfigurationSelectData<string>>> AvailableLLMProvidersFunc { get; set; } = () => [];
[Inject]
protected IDialogService DialogService { get; init; } = null!;
[Inject]
protected RustService RustService { get; init; } = null!;
[Inject]
protected ISnackbar Snackbar { get; init; } = null!;
}