Make Provider record sealed to prevent inheritance

This commit is contained in:
Thorsten Sommer 2025-08-26 10:59:03 +02:00
parent 3113021218
commit 05ebea2e99
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -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,