mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-10-09 09:41:07 +02:00
feat: add --validate-model to run the preflight model checks only
This commit is contained in:
1 parent
e90cdb5424
commit
ed304bb812
11 files changed
+135
-27
No files matched your search
@@ -413,6 +413,7 @@ export interface WorkerOptions {
|
||||
pipelineTesting?: boolean;
|
||||
keepContainer?: boolean;
|
||||
authOnly?: boolean;
|
||||
validateModel?: boolean;
|
||||
piAuthHostPath?: string;
|
||||
}
|
||||
|
||||
@@ -515,6 +516,9 @@ export function spawnWorker(opts: WorkerOptions): ChildProcess {
|
||||
if (opts.authOnly) {
|
||||
args.push('--validate-auth');
|
||||
}
|
||||
if (opts.validateModel) {
|
||||
args.push('--validate-model');
|
||||
}
|
||||
|
||||
// Inherit stderr so `docker run` daemon errors surface to the user;
|
||||
// ignore stdin/stdout (the container ID is noise).
|
||||
|
||||
Reference in new issue
Block a user