From aea56685aac0c7da759a9ddd9854f11f072d439d Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Tue, 17 Dec 2024 13:45:37 -0700 Subject: [PATCH] fix: validate action sequence --- src/commands/agent/generate/testset.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/commands/agent/generate/testset.ts b/src/commands/agent/generate/testset.ts index 3cf6880..7a80a21 100644 --- a/src/commands/agent/generate/testset.ts +++ b/src/commands/agent/generate/testset.ts @@ -46,8 +46,7 @@ async function promptForTestCase(): Promise { 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, });