2025-01-05 12:17:28 +00:00
|
|
|
using AIStudio.Settings;
|
|
|
|
|
|
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
|
|
|
|
namespace AIStudio.Components.Settings;
|
|
|
|
|
|
|
|
public abstract class SettingsPanelBase : ComponentBase
|
|
|
|
{
|
|
|
|
[Parameter]
|
|
|
|
public Func<IReadOnlyList<ConfigurationSelectData<string>>> AvailableLLMProvidersFunc { get; set; } = () => [];
|
|
|
|
|
|
|
|
[Inject]
|
|
|
|
protected SettingsManager SettingsManager { get; init; } = null!;
|
|
|
|
|
|
|
|
[Inject]
|
|
|
|
protected IDialogService DialogService { get; init; } = null!;
|
|
|
|
|
|
|
|
[Inject]
|
|
|
|
protected MessageBus MessageBus { get; init; } = null!;
|
2025-01-05 13:33:34 +00:00
|
|
|
|
|
|
|
[Inject]
|
|
|
|
protected RustService RustService { get; init; } = null!;
|
2025-01-05 12:17:28 +00:00
|
|
|
}
|