mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-12 03:21:37 +00:00
Removed not necessary T param
This commit is contained in:
parent
99ab8712aa
commit
3fd35f509f
@ -125,7 +125,7 @@ public sealed record Provider(
|
||||
var hfInferenceProvider = HFInferenceProvider.NONE;
|
||||
if (table.TryGetValue("HFInferenceProvider", out var hfInferenceProviderValue) && hfInferenceProviderValue.TryRead<string>(out var hfInferenceProviderText))
|
||||
{
|
||||
if (!Enum.TryParse<HFInferenceProvider>(hfInferenceProviderText, true, out hfInferenceProvider))
|
||||
if (!Enum.TryParse(hfInferenceProviderText, true, out hfInferenceProvider))
|
||||
{
|
||||
LOGGER.LogWarning($"The configured provider {idx} does not contain a valid Hugging Face inference provider enum value.");
|
||||
hfInferenceProvider = HFInferenceProvider.NONE;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user