This commit is contained in:
spaced4ndy
2024-10-30 21:23:20 +04:00
parent 6d9c8525fb
commit 534f814165
+1
View File
@@ -270,6 +270,7 @@ final class ChatModel: ObservableObject {
}
}
// TODO If conditions are accepted for operators currently not used, they should also be included into list.
var usageConditionsAction: UsageConditionsAction? {
let usedOperators = serverOperators.filter { $0.enabled }
if usedOperators.isEmpty {