mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-07-04 09:42:57 +00:00
21 lines
583 B
C#
21 lines
583 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 SettingsLocker SettingsLocker { get; init; } = null!;
|
|
} |