mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-13 21:07:21 +00:00
Added the choice between formal and informal address to the whole app (#1200)
This commit is contained in:
1 parent
382db4b8d0
commit
c9a376f742
342 files changed
+14378
-1893
No files matched your search
@@ -90,12 +90,12 @@ public partial class ProviderSelection : MSGComponentBase
|
||||
|
||||
var configuredProviders = this.SettingsManager.GetAllProviders().Where(x => x.UsedLLMProvider is not LLMProviders.NONE).ToList();
|
||||
if (configuredProviders.Count == 0)
|
||||
return this.T("No LLM providers are configured yet. Add a provider in the app settings.");
|
||||
return this.TA("No LLM providers are configured yet. Add a provider in the app settings.");
|
||||
|
||||
if (configuredProviders.All(x => this.SettingsManager.IsProviderProhibited(x.UsedLLMProvider)))
|
||||
return this.T("The use of all your LLM providers has been prohibited by your organization. Add a different provider in the app settings.");
|
||||
return this.TA("The use of all your LLM providers has been prohibited by your organization. Add a different provider in the app settings.");
|
||||
|
||||
return this.T("No LLM providers meet the confidence requirements. Configure an eligible provider in the app settings.");
|
||||
return this.TA("No LLM providers meet the confidence requirements. Configure an eligible provider in the app settings.");
|
||||
}
|
||||
|
||||
private IReadOnlyList<CapabilityIcon> GetCapabilityIcons(AIStudio.Settings.Provider provider)
|
||||
|
||||
Reference in new issue
Block a user