From 5f4bd6ba341e3ce0efd89a70b088b54a0b8feeee Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Sat, 24 Oct 2026 04:49:06 +0800 Subject: [PATCH] refactor(cli): execute validated model and GPU requests --- src/cli/gpuCommands.ts | 2 +- src/cli/modelCommands.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cli/gpuCommands.ts b/src/cli/gpuCommands.ts index e42d2066fd..039bdfe99c 100644 --- a/src/cli/gpuCommands.ts +++ b/src/cli/gpuCommands.ts @@ -101,7 +101,7 @@ export const registerGpuCommands = (cli: CliInstance, logger: Logger): void => { run: () => service.inspect( { - path: absoluteCallerPath(args.path), + path: selected.data.path, analysis: selected.data.analysis, ...(selected.data.expected_sha256 === undefined ? {} diff --git a/src/cli/modelCommands.ts b/src/cli/modelCommands.ts index e6b3803bf6..0df6e94408 100644 --- a/src/cli/modelCommands.ts +++ b/src/cli/modelCommands.ts @@ -84,8 +84,8 @@ export const registerModelCommands = ( run: () => service.inspect( { - path: absoluteCallerPath(args.path), - hash: options.hash, + path: selected.data.path, + hash: selected.data.hash, detail: "complete", }, { signal },