build model selection

This commit is contained in:
Ramnique Singh 2025-11-20 16:41:41 +05:30
parent add897e448
commit 92004033de
8 changed files with 357 additions and 66 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env node
import yargs from 'yargs';
import { hideBin } from 'yargs/helpers';
import { app } from '../dist/app.js';
import { app, modelConfig } from '../dist/app.js';
yargs(hideBin(process.argv))
@ -36,6 +36,14 @@ yargs(hideBin(process.argv))
});
}
)
.command(
"model-config",
"Select model",
(y) => y,
(argv) => {
modelConfig();
}
)
.command(
"update-state <agent> <run_id>",
"Update state for a run",