Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Windows setup: route the stale-manifest failure through Exit-SetupFailure (#7569)

Daniel Han767f2f36fbba
diff --git a/studio/setup.ps1 b/studio/setup.ps1
index 0734b9c2faa..a4eb54a9ef3 100644
--- a/studio/setup.ps1
+++ b/studio/setup.ps1
@@ -3122,7 +3122,7 @@ sys.exit(0 if install_manifest.remove_manifest() else 1)
if (-not $_ManifestDropped) {
Write-Host "[ERROR] Could not remove the stale unsloth_install_manifest.json." -ForegroundColor Red
Write-Host " Refusing to install behind a marker that still reports this venv as complete." -ForegroundColor Red
- exit 1
+ Exit-SetupFailure "Could not remove the stale unsloth_install_manifest.json"
}
if ($script:UnslothVerbose) {