Skip to content

Commit

Permalink
fix: validate action sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Dec 17, 2024
1 parent 558dbfd commit aea5668
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/commands/agent/generate/testset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ async function promptForTestCase(): Promise<TestSetInputs> {
if (!d.length) {
return 'expected value cannot be empty';
}

return d.split(',').length > 1 || 'expected value must be a comma-separated list of actions';
return true;
},
theme,
});
Expand Down

0 comments on commit aea5668

Please sign in to comment.