diff --git a/docs/changelog/2026-07-14.mdx b/docs/changelog/2026-07-14.mdx index 71f13736099..4be41773e36 100644 --- a/docs/changelog/2026-07-14.mdx +++ b/docs/changelog/2026-07-14.mdx @@ -11,7 +11,8 @@ NemoClaw v0.0.83 makes shared inference route changes explicit and safe, restore When multiple sandboxes share a gateway, onboarding warns immediately before re-pointing the live route and fails closed before replacing a provider-global identity used by another sandbox. Status output shows each sandbox's recorded route, the live route, and whether `connect` can safely restore a drifted route. For more information, refer to [Use Shared Gateway Routes](/user-guide/openclaw/inference/manage-inference/use-shared-gateway-routes) and [View Active Inference Route](/user-guide/openclaw/inference/manage-inference/view-active-inference-route). -- DGX Station GB300 systems enter the express-install path, and managed vLLM storage preflight blocks only for a verified shortage rather than inconclusive capacity. +- DGX Station GB300 systems enter the express-install path, and managed vLLM storage preflight treats verified shortages as advisory during express and other non-interactive setup while the checks mature. + Interactive setup still requires explicit confirmation, and non-interactive setup still stops when model-cache capacity is inconclusive. For more information, refer to [Set Up vLLM](/user-guide/openclaw/inference/local-inference/set-up-vllm) and [NemoClaw CLI Commands Reference](/user-guide/openclaw/reference/commands). - Onboarding warns when a bring-your-own vLLM server on DGX Spark appears to serve a large unquantized model that may exhaust GPU memory under agent tool-call load. The warning is suppressed for the managed Spark vLLM recipe. diff --git a/docs/inference/set-up-vllm.mdx b/docs/inference/set-up-vllm.mdx index fdab181047e..a251f37bdc4 100644 --- a/docs/inference/set-up-vllm.mdx +++ b/docs/inference/set-up-vllm.mdx @@ -112,19 +112,19 @@ It cannot inspect daemon storage through a remote endpoint, a named non-default When both `DOCKER_CONTEXT` and `DOCKER_HOST` are set, NemoClaw follows Docker CLI precedence and uses `DOCKER_CONTEXT`. Before a registered model with pinned size metadata is downloaded, NemoClaw also checks the filesystem that contains the host Hugging Face cache. When a Docker image-storage check is inconclusive, NemoClaw prints the reason, approximate requirement, and diagnostic commands, then continues without claiming that capacity is sufficient. -An inconclusive model-cache check is guarded like an insufficient result because a registered model download can be hundreds of gigabytes: interactive setup requires explicit confirmation, and non-interactive setup stops unless the disk-space override is set. +An inconclusive model-cache check remains guarded because a registered model download can be hundreds of gigabytes. +Interactive setup requires explicit confirmation, and non-interactive setup stops with guidance to rerun interactively. When verified capacity is insufficient, the warning identifies the image, available capacity, approximate requirement, checked path and source, remediation, and diagnostic commands. Interactive setup continues only when you enter `y` or `yes` explicitly. Pressing **Enter**, entering `n` or `no`, or entering any other response stops before the guarded image or model download starts. -`--yes` and `NEMOCLAW_YES=1` do not accept a verified insufficient-storage warning. -They also do not accept an inconclusive model-cache warning. -Non-interactive setup stops for verified insufficient capacity or inconclusive model-cache capacity unless you set `NEMOCLAW_IGNORE_VLLM_DISK_SPACE=1` exactly. -The override applies when NemoClaw verifies that Docker image storage or model-cache storage is insufficient and when model-cache capacity cannot be verified. -Use it only after you independently verify that the relevant filesystem can complete the download. -An inconclusive Docker image-storage check retains its existing automatic-continue behavior and does not require the override. +`--yes` and `NEMOCLAW_YES=1` do not change managed vLLM storage-warning handling. +Express installation and other non-interactive setup treat a verified warning that Docker image storage or model-cache storage is insufficient as advisory, so NemoClaw prints the warning and continues the guarded download. +Interactive setup still requires you to enter `y` or `yes` for a verified insufficient-capacity warning. +An inconclusive model-cache warning also requires explicit confirmation interactively, and non-interactive setup stops with guidance to rerun interactively. +An inconclusive Docker image-storage check retains its existing automatic-continue behavior. diff --git a/docs/reference/commands.mdx b/docs/reference/commands.mdx index c9f3d851fc5..d6f67281c7d 100644 --- a/docs/reference/commands.mdx +++ b/docs/reference/commands.mdx @@ -3285,7 +3285,6 @@ Set them before running `$$nemoclaw onboard`. | `NEMOCLAW_INSTALL_TAG` | release tag | For internal installer commands: the release tag to install. Defaults to the admin-promoted `lkg` tag when unset. Overridden by the `--install-tag` flag. | | `NEMOCLAW_VLLM_MODEL` | registry slug or Hugging Face model id | Selects the model the managed-vLLM install path serves. Recognised slugs: `qwen3.6-27b`, `qwen3.6-35b-a3b-nvfp4`, `nemotron-3-nano-4b`, `deepseek-v4-flash`, `nemotron-3-ultra-550b-a55b`, `deepseek-r1-distill-70b`. Unset uses the per-platform profile default. The DGX Station express installer sets `nemotron-3-ultra-550b-a55b` explicitly. Gated models (e.g. `deepseek-r1-distill-70b`) require `HF_TOKEN` or `HUGGING_FACE_HUB_TOKEN`. | | `NEMOCLAW_VLLM_EXTRA_ARGS_JSON` | JSON array of non-blank strings | Appends advanced operator-owned tokens to the managed `vllm serve` command after NemoClaw's registry defaults. Example: `["--max-num-seqs","2"]`. Malformed JSON, non-string tokens, or blank tokens fail before Docker work starts. | -| `NEMOCLAW_IGNORE_VLLM_DISK_SPACE` | exactly `1` | Allows managed vLLM to continue when verified Docker image-storage or registered model-cache capacity is insufficient, or when registered model-cache capacity cannot be measured; other values do not bypass either check. An inconclusive Docker image-storage check reports diagnostics and retains its existing automatic-continue behavior. | | `NEMOCLAW_MINIMAL_BOOTSTRAP` | `1` to enable | Skips default OpenClaw workspace-template seeding for new pristine workspaces. Existing files are not deleted; refer to [Understand Runtime Changes](../manage-sandboxes/configure-sandboxes/understand-runtime-changes). | @@ -3436,7 +3435,7 @@ Set them before running `$$nemoclaw onboard`. | Variable | Format | Effect | |----------|--------|--------| -| `NEMOCLAW_YES` | `1` to enable | Auto-accepts confirmation prompts (`--yes` equivalent) including in helpers like the Ollama proxy auth setup, but does not accept managed-vLLM storage warnings. | +| `NEMOCLAW_YES` | `1` to enable | Auto-accepts confirmation prompts (`--yes` equivalent) including in helpers like the Ollama proxy auth setup, but does not change managed-vLLM storage-warning handling. Express and other non-interactive setup continue after a verified insufficient-capacity warning, interactive setup still requires an explicit `y` or `yes`, and an inconclusive model-cache check stops non-interactive setup with guidance to rerun interactively. | | `NEMOCLAW_OLLAMA_NO_AUTOSTART` | `1` to enable | Skips the wizard's eager Ollama auto-start during inference-provider selection (equivalent to passing `--no-ollama-autostart`). When set and Ollama is not running on `localhost:11434`, an agent that uses the legacy `16384`-token context floor, currently OpenClaw, prints a warning and selects the default fallback model instead of spawning `ollama serve`. An agent that requires a larger verified runtime context, currently Hermes at `64000` tokens, returns to interactive provider selection or exits when the Ollama provider is pinned or onboarding is non-interactive. The flag covers only the provider-selection step; later setup steps (auth proxy, validation, model warm) still expect a reachable Ollama. On Linux hosts with a systemd Ollama unit, the loopback-override path may still restart the daemon before this gate runs. | | `NEMOCLAW_NON_INTERACTIVE_SUDO_MODE` | `prompt` or empty/unset | When set to `prompt`, allows non-interactive onboarding to use prompt-capable `sudo` for host setup steps that require elevation, which can ask for a password. Empty/unset is the default and uses `sudo -n`, which fails instead of asking for a password. Any other value is rejected. | | `NEMOCLAW_NO_EXPRESS` | `1` to enable | Installer-only. Skips the DGX Spark, DGX Station, and Windows WSL express install prompt and continues with the normal interactive onboarding flow. | diff --git a/src/lib/inference/vllm-storage.ts b/src/lib/inference/vllm-storage.ts index 4b65bab227c..002b3d88acd 100644 --- a/src/lib/inference/vllm-storage.ts +++ b/src/lib/inference/vllm-storage.ts @@ -7,8 +7,6 @@ import { parse as parseToml } from "smol-toml"; import { dockerCapture } from "../adapters/docker"; import { buildVllmDockerEnv } from "./vllm-docker-env"; -export const VLLM_STORAGE_OVERRIDE_ENV = "NEMOCLAW_IGNORE_VLLM_DISK_SPACE"; - const GIB_BYTES = 1024n ** 3n; const DOWNLOAD_TEMP_HEADROOM_BYTES = 3n * GIB_BYTES; const DEFAULT_CONTAINERD_ROOT = "/var/lib/containerd"; diff --git a/src/lib/inference/vllm.test.ts b/src/lib/inference/vllm.test.ts index 7812f4a1b93..e93a208d82b 100644 --- a/src/lib/inference/vllm.test.ts +++ b/src/lib/inference/vllm.test.ts @@ -572,7 +572,6 @@ describe("installVllm model resolution", () => { stdoutWrite = vi.spyOn(process.stdout, "write").mockImplementation(() => true); delete process.env.NEMOCLAW_VLLM_MODEL; delete process.env.NEMOCLAW_VLLM_EXTRA_ARGS_JSON; - delete process.env.NEMOCLAW_IGNORE_VLLM_DISK_SPACE; delete process.env.HF_TOKEN; delete process.env.HUGGING_FACE_HUB_TOKEN; // Fail dockerPrereqsOk so the function returns before any docker work, @@ -850,10 +849,11 @@ describe("installVllm model resolution", () => { expect(errors).toContain("docker system df"); }); - it("stops an absent or interrupted Ultra download when the HF cache is too small", async () => { + it("continues a non-interactive Ultra download when the HF cache is too small", async () => { process.env.NEMOCLAW_VLLM_MODEL = "nemotron-3-ultra-550b-a55b"; const profile = detectVllmProfile({ platform: "station", type: "nvidia" })!; mockSuccessfulVllmInstall(profile.containerName); + mocks.dockerImageInspectFormat.mockReturnValue("sha256:cached-image"); mocks.probeHostStorage.mockReturnValue({ ok: true, capacity: { @@ -862,26 +862,65 @@ describe("installVllm model resolution", () => { source: "Hugging Face cache", }, }); + const promptFn = vi.fn(); const result = await installVllm(profile, { - hasImage: false, + hasImage: true, nonInteractive: true, - promptFn: vi.fn(), + promptFn, }); - expect(result).toEqual({ ok: false }); + expect(result).toEqual({ ok: true }); + expect(promptFn).not.toHaveBeenCalled(); expect(mocks.probeHostStorage).toHaveBeenCalledTimes(1); - expect(mocks.dockerImageInspectFormat).not.toHaveBeenCalled(); expect(mocks.probeDockerStorage).not.toHaveBeenCalled(); - expect(mocks.dockerPullWithProgressWatchdog).not.toHaveBeenCalled(); - expect(mocks.dockerSpawn).not.toHaveBeenCalled(); - expect(mocks.dockerRunDetached).not.toHaveBeenCalled(); - expect(mkdirSpy).not.toHaveBeenCalled(); + expect(mocks.dockerPullWithProgressWatchdog).toHaveBeenCalledTimes(1); + expect(mocks.dockerSpawn).toHaveBeenCalledTimes(1); const errors = errSpy.mock.calls.map((call: unknown[]) => String(call[0])).join("\n"); expect(errors).toContain("Insufficient storage for the managed vLLM model cache"); expect(errors).toContain("nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B-NVFP4"); expect(errors).toContain("Hugging Face cache"); - expect(errors).toContain("Non-interactive setup stops before the guarded download"); + expect(errors).toContain( + "Continuing because managed vLLM storage estimates are advisory in non-interactive setup", + ); + }); + + it.each([ + { reply: "y", expected: { ok: true }, pulls: 1, downloads: 1 }, + { reply: "n", expected: { ok: false }, pulls: 0, downloads: 0 }, + { reply: "", expected: { ok: false }, pulls: 0, downloads: 0 }, + ])("requires an explicit interactive '$reply' for a low model-cache warning", async ({ + reply, + expected, + pulls, + downloads, + }) => { + process.env.NEMOCLAW_VLLM_MODEL = "nemotron-3-ultra-550b-a55b"; + const profile = detectVllmProfile({ platform: "station", type: "nvidia" })!; + mockSuccessfulVllmInstall(profile.containerName); + mocks.dockerImageInspectFormat.mockReturnValue("sha256:cached-image"); + mocks.probeHostStorage.mockReturnValue({ + ok: true, + capacity: { + availableBytes: 1n, + path: path.join(os.homedir(), ".cache", "huggingface"), + source: "Hugging Face cache", + }, + }); + const replies = ["y", reply]; + const promptFn = vi.fn(async () => replies.shift() ?? ""); + + const result = await installVllm(profile, { + hasImage: true, + nonInteractive: false, + promptFn, + }); + + expect(result).toEqual(expected); + expect(promptFn).toHaveBeenCalledTimes(2); + expect(promptFn).toHaveBeenLastCalledWith(" Continue with the model download anyway? [y/N]: "); + expect(mocks.dockerPullWithProgressWatchdog).toHaveBeenCalledTimes(pulls); + expect(mocks.dockerSpawn).toHaveBeenCalledTimes(downloads); }); it("fails closed before downloads when non-interactive model-cache capacity is inconclusive", async () => { @@ -905,8 +944,10 @@ describe("installVllm model resolution", () => { const errors = errSpy.mock.calls.map((call: unknown[]) => String(call[0])).join("\n"); expect(errors).toContain("Unable to verify storage for the managed vLLM model cache"); expect(errors).toContain("statfs unavailable"); - expect(errors).toContain("Non-interactive setup stops before the guarded download"); - expect(errors).toContain("NEMOCLAW_IGNORE_VLLM_DISK_SPACE=1"); + expect(errors).toContain( + "Non-interactive setup stops because model-cache capacity could not be verified", + ); + expect(errors).toContain("Re-run interactively to review the warning"); }); it.each([ @@ -940,28 +981,7 @@ describe("installVllm model resolution", () => { expect(mocks.dockerSpawn).toHaveBeenCalledTimes(downloads); }); - it("allows an inconclusive model-cache probe only with the exact disk-space override", async () => { - process.env.NEMOCLAW_VLLM_MODEL = "nemotron-3-ultra-550b-a55b"; - process.env.NEMOCLAW_IGNORE_VLLM_DISK_SPACE = "1"; - const profile = detectVllmProfile({ platform: "station", type: "nvidia" })!; - mockSuccessfulVllmInstall(profile.containerName); - mocks.dockerImageInspectFormat.mockReturnValue("sha256:cached-image"); - mocks.probeHostStorage.mockReturnValue(inconclusiveModelStorage()); - const result = await installVllm(profile, { - hasImage: true, - nonInteractive: true, - promptFn: vi.fn(), - }); - expect(result).toEqual({ ok: true }); - expect(mocks.probeHostStorage).toHaveBeenCalledTimes(1); - expect(mocks.dockerPullWithProgressWatchdog).toHaveBeenCalledTimes(1); - expect(mocks.dockerSpawn).toHaveBeenCalledTimes(1); - expect(errSpy).toHaveBeenCalledWith( - expect.stringContaining("Continuing because NEMOCLAW_IGNORE_VLLM_DISK_SPACE=1"), - ); - }); - - it("re-probes after a cold image pull to prevent shared-filesystem overcommit", async () => { + it("re-probes after a cold image pull before continuing past a storage warning", async () => { process.env.NEMOCLAW_VLLM_MODEL = "nemotron-3-ultra-550b-a55b"; const profile = detectVllmProfile({ platform: "station", type: "nvidia" })!; mockSuccessfulVllmInstall(profile.containerName); @@ -992,14 +1012,18 @@ describe("installVllm model resolution", () => { promptFn: vi.fn(), }); - expect(result).toEqual({ ok: false }); + expect(result).toEqual({ ok: true }); expect(mocks.probeHostStorage).toHaveBeenCalledTimes(2); expect(mocks.dockerPullWithProgressWatchdog).toHaveBeenCalledTimes(1); - expect(mocks.dockerSpawn).not.toHaveBeenCalled(); - expect(mocks.dockerRunDetached).not.toHaveBeenCalled(); + expect(mocks.dockerSpawn).toHaveBeenCalledTimes(1); expect(errSpy).toHaveBeenCalledWith( expect.stringContaining("Insufficient storage for the managed vLLM model cache"), ); + expect(errSpy).toHaveBeenCalledWith( + expect.stringContaining( + "Continuing because managed vLLM storage estimates are advisory in non-interactive setup", + ), + ); }); it("stops when the post-pull model-cache capacity re-probe is inconclusive", async () => { @@ -1089,35 +1113,6 @@ describe("installVllm model resolution", () => { expect(mocks.dockerSpawn).toHaveBeenCalledTimes(1); }); - it("uses the dedicated disk-space override for a low Ultra model cache", async () => { - process.env.NEMOCLAW_VLLM_MODEL = "nemotron-3-ultra-550b-a55b"; - process.env.NEMOCLAW_IGNORE_VLLM_DISK_SPACE = "1"; - const profile = detectVllmProfile({ platform: "station", type: "nvidia" })!; - mockSuccessfulVllmInstall(profile.containerName); - mocks.dockerImageInspectFormat.mockReturnValue("sha256:cached-image"); - mocks.probeHostStorage.mockReturnValue({ - ok: true, - capacity: { - availableBytes: 1n, - path: path.join(os.homedir(), ".cache", "huggingface"), - source: "Hugging Face cache", - }, - }); - - const result = await installVllm(profile, { - hasImage: true, - nonInteractive: true, - promptFn: vi.fn(), - }); - - expect(result).toEqual({ ok: true }); - expect(mocks.dockerPullWithProgressWatchdog).toHaveBeenCalledTimes(1); - expect(mocks.dockerSpawn).toHaveBeenCalledTimes(1); - expect(errSpy).toHaveBeenCalledWith( - expect.stringContaining("NEMOCLAW_IGNORE_VLLM_DISK_SPACE=1"), - ); - }); - it("continues an uncached image pull only after an explicit storage yes (#6757)", async () => { const profile = detectVllmProfile({ platform: "spark", type: "nvidia" })!; process.env.NEMOCLAW_VLLM_MODEL = profile.defaultModel.envValue; @@ -1139,7 +1134,7 @@ describe("installVllm model resolution", () => { expect(mocks.dockerSpawn).toHaveBeenCalledTimes(1); }); - it("fails safely before downloads in non-interactive low-storage setup (#6757)", async () => { + it("continues non-interactive setup after a low Docker-storage warning", async () => { const profile = detectVllmProfile({ platform: "station", type: "nvidia" })!; process.env.NEMOCLAW_VLLM_MODEL = profile.defaultModel.envValue; process.env.NEMOCLAW_YES = "1"; @@ -1155,11 +1150,13 @@ describe("installVllm model resolution", () => { promptFn: vi.fn(), }); - expect(result).toEqual({ ok: false }); - expect(mocks.dockerPullWithProgressWatchdog).not.toHaveBeenCalled(); - expect(mocks.dockerSpawn).not.toHaveBeenCalled(); + expect(result).toEqual({ ok: true }); + expect(mocks.dockerPullWithProgressWatchdog).toHaveBeenCalledTimes(1); + expect(mocks.dockerSpawn).toHaveBeenCalledTimes(1); expect(errSpy).toHaveBeenCalledWith( - expect.stringContaining("Non-interactive setup stops before the guarded download"), + expect.stringContaining( + "Continuing because managed vLLM storage estimates are advisory in non-interactive setup", + ), ); }); @@ -1186,29 +1183,6 @@ describe("installVllm model resolution", () => { expect(errors).toContain("Continuing because Docker storage capacity could not be verified"); }); - it("honors only the dedicated disk-space override in non-interactive setup (#6757)", async () => { - const profile = detectVllmProfile({ platform: "station", type: "nvidia" })!; - process.env.NEMOCLAW_VLLM_MODEL = profile.defaultModel.envValue; - process.env.NEMOCLAW_IGNORE_VLLM_DISK_SPACE = "1"; - mockSuccessfulVllmInstall(profile.containerName); - mocks.probeDockerStorage.mockReturnValue({ - ok: true, - capacity: { availableBytes: 1n, path: "/docker-low", source: "containerd image store" }, - }); - const result = await installVllm(profile, { - hasImage: false, - nonInteractive: true, - promptFn: vi.fn(), - }); - - expect(result).toEqual({ ok: true }); - expect(mocks.dockerPullWithProgressWatchdog).toHaveBeenCalledTimes(1); - expect(mocks.dockerSpawn).toHaveBeenCalledTimes(1); - expect(errSpy).toHaveBeenCalledWith( - expect.stringContaining("NEMOCLAW_IGNORE_VLLM_DISK_SPACE=1"), - ); - }); - it("reuses an authoritatively cached image without a cold-pull capacity check (#6757)", async () => { const profile = detectVllmProfile({ platform: "spark", type: "nvidia" })!; mockSuccessfulVllmInstall(profile.containerName); diff --git a/src/lib/inference/vllm.ts b/src/lib/inference/vllm.ts index a98de81b455..36a1dde93db 100644 --- a/src/lib/inference/vllm.ts +++ b/src/lib/inference/vllm.ts @@ -44,7 +44,6 @@ import { probeDockerStorage, probeHostStorage, type StorageProbeResult, - VLLM_STORAGE_OVERRIDE_ENV, } from "./vllm-storage"; // Per-platform install recipe. Add new platforms by appending an entry to @@ -796,7 +795,9 @@ function printImageStorageWarning( console.error(` Storage: ${probe.source ?? "filesystem"} (${probe.path})`); } console.error(""); - if (insufficient) console.error(" Free or expand Docker storage before continuing."); + if (insufficient) { + console.error(" Free or expand Docker storage to reduce the risk of download failure."); + } console.error(" Useful diagnostics:"); console.error(" docker system df"); console.error(" docker info --format '{{.DockerRootDir}}'"); @@ -833,7 +834,11 @@ function printModelStorageWarning( console.error(` Storage: ${probe.source ?? "filesystem"} (${probe.path})`); } console.error(""); - if (insufficient) console.error(" Free or expand the model-cache storage before continuing."); + if (insufficient) { + console.error( + " Free or expand the model-cache storage to reduce the risk of download failure.", + ); + } console.error(" Useful diagnostics:"); console.error(` df -h ${hostHfCacheDir()}`); console.error(` du -sh ${hostHfCacheDir()} 2>/dev/null`); @@ -842,7 +847,6 @@ function printModelStorageWarning( async function imageStorageAccepted( profile: VllmProfile, opts: InstallVllmOptions, - env: NodeJS.ProcessEnv = process.env, ): Promise { const probe = probeDockerStorage(); const requiredBytes = imageStorageRequirementBytes(profile.imageDownloadSizeBytes); @@ -854,15 +858,11 @@ async function imageStorageAccepted( console.error(" Continuing because Docker storage capacity could not be verified."); return true; } - if (env[VLLM_STORAGE_OVERRIDE_ENV] === "1") { - console.error(` Continuing because ${VLLM_STORAGE_OVERRIDE_ENV}=1.`); - return true; - } if (opts.nonInteractive) { console.error( - ` Non-interactive setup stops before the guarded download. Set ${VLLM_STORAGE_OVERRIDE_ENV}=1 to override.`, + " Continuing because managed vLLM storage estimates are advisory in non-interactive setup.", ); - return false; + return true; } return isAffirmativeAnswer(await opts.promptFn(" Continue with the pull anyway? [y/N]: ")); } @@ -871,7 +871,6 @@ async function modelStorageAccepted( profile: VllmProfile, model: VllmModelDef, opts: InstallVllmOptions, - env: NodeJS.ProcessEnv = process.env, ): Promise { if (profile.modelDownloadSizeBytes === undefined) return true; if (!Number.isFinite(profile.modelDownloadSizeBytes) || profile.modelDownloadSizeBytes <= 0) { @@ -886,13 +885,15 @@ async function modelStorageAccepted( const requiredBytes = modelStorageRequirementBytes(Number(remainingBytes)); if (probe.ok && probe.capacity.availableBytes >= requiredBytes) return true; printModelStorageWarning(model, probe, requiredBytes, cachedBytes, snapshotBytes); - if (env[VLLM_STORAGE_OVERRIDE_ENV] === "1") { - console.error(` Continuing because ${VLLM_STORAGE_OVERRIDE_ENV}=1.`); + if (probe.ok && opts.nonInteractive) { + console.error( + " Continuing because managed vLLM storage estimates are advisory in non-interactive setup.", + ); return true; } if (opts.nonInteractive) { console.error( - ` Non-interactive setup stops before the guarded download. Set ${VLLM_STORAGE_OVERRIDE_ENV}=1 to override.`, + " Non-interactive setup stops because model-cache capacity could not be verified. Re-run interactively to review the warning.", ); return false; }