mirror of
				https://github.com/MindWorkAI/AI-Studio.git
				synced 2025-11-04 04:20:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			660 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			660 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using AIStudio.Settings;
 | 
						|
using AIStudio.Tools.Services;
 | 
						|
 | 
						|
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!;
 | 
						|
    
 | 
						|
    [Inject]
 | 
						|
    protected RustService RustService { get; init; } = null!;
 | 
						|
} |