mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-17 14:37:59 +00:00
made datasource selection more user friendly
This commit is contained in:
1 parent
647c428ebf
commit
786b106096
6 files changed
+156
-42
No files matched your search
@@ -25,6 +25,9 @@ public static class ConfidenceLevelExtensions
|
||||
public static string GetColor(this ConfidenceLevel level, SettingsManager settingsManager) => (level, settingsManager.IsDarkMode) switch
|
||||
{
|
||||
(ConfidenceLevel.NONE, _) => "#cccccc",
|
||||
|
||||
(ConfidenceLevel.UNKNOWN, false) => "#777777",
|
||||
(ConfidenceLevel.UNKNOWN, true) => "#aaaaaa",
|
||||
|
||||
(ConfidenceLevel.UNTRUSTED, false) => "#ff0000",
|
||||
(ConfidenceLevel.UNTRUSTED, true) => "#800000",
|
||||
|
||||
Reference in new issue
Block a user