mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 07:07:21 +00:00
Added a way for organizations to prohibit providers (#1105)
This commit is contained in:
1 parent
052868b24e
commit
7ba5f01388
38 files changed
+1488
-629
No files matched your search
@@ -105,7 +105,7 @@ public partial class SettingsPanelApp : SettingsPanelBase
|
||||
var minimumLevel = this.SettingsManager.GetMinimumConfidenceLevel(Tools.Components.APP_SETTINGS);
|
||||
foreach (var provider in this.SettingsManager.GetAllTranscriptionProviders())
|
||||
{
|
||||
if (provider.UsedLLMProvider.GetConfidence(this.SettingsManager).Level >= minimumLevel)
|
||||
if (this.SettingsManager.IsProviderUsable(provider.UsedLLMProvider, minimumLevel))
|
||||
yield return new(provider.Name, provider.Id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user