Manage IsEnterpriseConfiguration for manual providers

This commit is contained in:
Thorsten Sommer 2025-06-01 20:50:23 +02:00
parent ab84cf1093
commit 9404e83ec1
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -133,6 +133,7 @@ public partial class ProviderDialog : MSGComponentBase, ISecretId
_ => this.DataModel _ => this.DataModel
}, },
IsSelfHosted = this.DataLLMProvider is LLMProviders.SELF_HOSTED, IsSelfHosted = this.DataLLMProvider is LLMProviders.SELF_HOSTED,
IsEnterpriseConfiguration = false,
Hostname = cleanedHostname.EndsWith('/') ? cleanedHostname[..^1] : cleanedHostname, Hostname = cleanedHostname.EndsWith('/') ? cleanedHostname[..^1] : cleanedHostname,
Host = this.DataHost, Host = this.DataHost,
HFInferenceProvider = this.HFInferenceProviderId, HFInferenceProvider = this.HFInferenceProviderId,