-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: more specific errors for evals #1626
base: main
Are you sure you want to change the base?
Conversation
@@ -105,6 +112,13 @@ export const evalFlow = new Command('eval:flow') | |||
evalActionKeys | |||
); | |||
} | |||
if (!evaluatorActions.length) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what happens here when options.evaluators
is undefined
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In that case the CLI defaults to using all installed evaluators. Since we did not find any, we throw an error that no evaluator was found in the app
Fixes: #1511
Checklist (if applicable):