mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-20 13:41:30 +00:00
feat(qa): add live suite runner and harness
This commit is contained in:
@@ -16,10 +16,21 @@ export async function runQaLabSelfCheckCommand(opts: { output?: string }) {
|
||||
}
|
||||
}
|
||||
|
||||
export async function runQaSuiteCommand(opts: { outputDir?: string }) {
|
||||
export async function runQaSuiteCommand(opts: {
|
||||
outputDir?: string;
|
||||
providerMode?: "mock-openai" | "live-openai";
|
||||
primaryModel?: string;
|
||||
alternateModel?: string;
|
||||
fastMode?: boolean;
|
||||
}) {
|
||||
const result = await runQaSuite({
|
||||
outputDir: opts.outputDir ? path.resolve(opts.outputDir) : undefined,
|
||||
providerMode: opts.providerMode,
|
||||
primaryModel: opts.primaryModel,
|
||||
alternateModel: opts.alternateModel,
|
||||
fastMode: opts.fastMode,
|
||||
});
|
||||
process.stdout.write(`QA suite watch: ${result.watchUrl}\n`);
|
||||
process.stdout.write(`QA suite report: ${result.reportPath}\n`);
|
||||
process.stdout.write(`QA suite summary: ${result.summaryPath}\n`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user