Skip to content

Commit

Permalink
fix: bot rating is a string
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Dec 17, 2024
1 parent bfde4f5 commit 558dbfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/agent/generate/testset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async function promptForTestCase(): Promise<TestSetInputs> {
return 'expected value cannot be empty';
}

return (Number(d) >= 0 && Number(d) <= 5) || 'expected value must be a number between 0 and 5';
return true;
},
theme,
});
Expand Down

0 comments on commit 558dbfd

Please sign in to comment.