mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 02:27:21 +00:00
Turned getter-like extension methods into extension properties (#1157)
This commit is contained in:
1 parent
0375318b1b
commit
f649febf88
286 files changed
+1379
-1109
No files matched your search
@@ -6,7 +6,7 @@ public static class AllowedLLMProvidersExtensions
|
||||
|
||||
extension(AllowedLLMProviders provider)
|
||||
{
|
||||
public string Description() => provider switch
|
||||
public string Description => provider switch
|
||||
{
|
||||
AllowedLLMProviders.NONE => TB("Please select what kind of LLM provider are allowed for this data source"),
|
||||
AllowedLLMProviders.ANY => TB("Any LLM provider is allowed: users might choose a cloud-based or a self-hosted provider"),
|
||||
|
||||
Reference in new issue
Block a user