mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-10-08 21:40:21 +00:00
Make Provider record sealed to prevent inheritance
This commit is contained in:
parent
3113021218
commit
05ebea2e99
@ -20,7 +20,7 @@ namespace AIStudio.Settings;
|
||||
/// <param name="IsSelfHosted">Whether the provider is self-hosted.</param>
|
||||
/// <param name="Hostname">The hostname of the provider. Useful for self-hosted providers.</param>
|
||||
/// <param name="Model">The LLM model to use for chat.</param>
|
||||
public record Provider(
|
||||
public sealed record Provider(
|
||||
uint Num,
|
||||
string Id,
|
||||
string InstanceName,
|
||||
|
Loading…
Reference in New Issue
Block a user