mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-26 09:54:19 +01:00
fix: pre-landing review fixes
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
990ba7bee8
commit
1a8a62cb10
8 files changed
+42
-8
No files matched your search
@@ -78,7 +78,11 @@ function parseProviders(s: string | undefined): ProviderName[] {
|
||||
console.error(`WARN: unknown provider '${p}' — skipping. Valid: ${PROVIDER_NAMES.join(', ')}.`);
|
||||
}
|
||||
}
|
||||
return seen.size ? Array.from(seen) : ['claude'];
|
||||
if (!seen.size) {
|
||||
console.error(`No valid provider in --models '${s}'. Valid: ${PROVIDER_NAMES.join(', ')}.`);
|
||||
process.exit(1);
|
||||
}
|
||||
return Array.from(seen);
|
||||
}
|
||||
|
||||
function parsePositiveIntegerFlag(name: string, def: string): number {
|
||||
|
||||
Reference in new issue
Block a user