refactor(cli): execute validated model and GPU requests
This commit is contained in:
1 parent
171f56a5ed
commit
5f4bd6ba34
2 files changed
+3
-3
No files matched your search
@@ -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
|
||||
? {}
|
||||
|
||||
@@ -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 },
|
||||
|
||||
Reference in new issue
Block a user