Updated documentation (#409)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2025-04-20 15:24:43 +02:00
1 parent c10c084da4
commit 2144cfe059
15 files changed
+104 -77

No files matched your search

@@ -94,13 +94,13 @@ public sealed class ProviderValidation
return null;
}
public string? ValidatingHFInstanceProvider(HFInstanceProvider instanceProvider)
public string? ValidatingHFInstanceProvider(HFInferenceProvider inferenceProvider)
{
if(this.GetProvider() is not LLMProviders.HUGGINGFACE)
return null;
if (instanceProvider is HFInstanceProvider.NONE)
return "Please select an Hugging Face instance provider.";
if (inferenceProvider is HFInferenceProvider.NONE)
return "Please select an Hugging Face inference provider.";
return null;
}