refactor(cli): execute validated model and GPU requests

This commit is contained in:
morluto
2026-10-24 04:49:06 +08:00
parent 171f56a5ed
commit 5f4bd6ba34
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
? {}
+2 -2
View File
@@ -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 },