New version v2.3.6
This commit is contained in:
@@ -222,6 +222,34 @@ class SettingsService {
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - Reasoning Settings
|
||||
|
||||
var reasoningEnabled: Bool {
|
||||
get { cache["reasoningEnabled"] == "true" }
|
||||
set {
|
||||
cache["reasoningEnabled"] = String(newValue)
|
||||
DatabaseService.shared.setSetting(key: "reasoningEnabled", value: String(newValue))
|
||||
}
|
||||
}
|
||||
|
||||
/// "high", "medium", "low", "minimal" — default "medium"
|
||||
var reasoningEffort: String {
|
||||
get { cache["reasoningEffort"] ?? "medium" }
|
||||
set {
|
||||
cache["reasoningEffort"] = newValue
|
||||
DatabaseService.shared.setSetting(key: "reasoningEffort", value: newValue)
|
||||
}
|
||||
}
|
||||
|
||||
/// When true, model reasons internally but thinking content is excluded from response
|
||||
var reasoningExclude: Bool {
|
||||
get { cache["reasoningExclude"] == "true" }
|
||||
set {
|
||||
cache["reasoningExclude"] = String(newValue)
|
||||
DatabaseService.shared.setSetting(key: "reasoningExclude", value: String(newValue))
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - Text Size Settings
|
||||
|
||||
/// GUI text size (headers, labels, buttons) — default 13
|
||||
|
||||
Reference in New Issue
Block a user