mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-07 08:46:40 +08:00
fix: allow rust acceleration re-enable
This commit is contained in:
@@ -642,9 +642,9 @@ async function loadSystemSettings() {
|
|||||||
if (result.data.hasOwnProperty(key)) (SystemSettings.value[sectionKey] as any)[key] = result.data[key]
|
if (result.data.hasOwnProperty(key)) (SystemSettings.value[sectionKey] as any)[key] = result.data[key]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
const accelEnabled = Boolean(result.data.RUST_ACCEL_ENABLED)
|
const accelAvailable = Boolean(result.data.RUST_ACCEL_AVAILABLE ?? result.data.RUST_ACCEL_ENABLED)
|
||||||
rustAccelAvailable.value = accelEnabled
|
rustAccelAvailable.value = accelAvailable
|
||||||
if (!accelEnabled) SystemSettings.value.Advanced.RUST_ACCEL = false
|
if (!accelAvailable) SystemSettings.value.Advanced.RUST_ACCEL = false
|
||||||
SystemSettings.value.Basic.LLM_THINKING_LEVEL = resolveThinkingLevelValue(result.data)
|
SystemSettings.value.Basic.LLM_THINKING_LEVEL = resolveThinkingLevelValue(result.data)
|
||||||
await loadLlmProviders()
|
await loadLlmProviders()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user