Skip to content
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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

ssbushi
Copy link
Contributor

@ssbushi ssbushi commented Jan 21, 2025

Fixes: #1511

Checklist (if applicable):

@ssbushi ssbushi requested review from shrutip90 and pavelgj January 21, 2025 17:47
@@ -105,6 +112,13 @@ export const evalFlow = new Command('eval:flow')
evalActionKeys
);
}
if (!evaluatorActions.length) {
Copy link
Collaborator

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?

Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

[Tooling] eval commands should fail if evaluator name does not match
2 participants