Added LiteLLM as a new LLM provider (#909)

Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
Prodman DevokadevandThorsten Sommer authored and GitHub committed 2026-08-30 12:55:18 +02:00
1 parent 2965102c53
commit 5966f0f6a5
19 files changed
+206 -22

No files matched your search

@@ -26,7 +26,12 @@ public sealed class ProviderValidation
public string? ValidatingHostname(string hostname)
{
if(this.GetProvider() != LLMProviders.SELF_HOSTED)
//
// Every provider for which IsHostnameNeeded is true must be validated here. Otherwise,
// the dialog shows a hostname field which nobody checks, and the provider silently ends
// up as a NoProvider later on, because its base URI cannot be built:
//
if(this.GetProvider() is not (LLMProviders.SELF_HOSTED or LLMProviders.LITE_LLM))
return null;
if(string.IsNullOrWhiteSpace(hostname))