We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b10773c commit d4d9f82Copy full SHA for d4d9f82
1 file changed
src/eval_utils/run.ts
@@ -285,7 +285,9 @@ export async function runEval(
285
// Upsert the local Evaluators; other Evaluators are just referenced by `path` or `id`
286
let localEvaluators: [EvaluatorResponse, Function][] = [];
287
if (evaluators) {
288
- const evaluatorsWithCallable = evaluators.filter((e) => e.callable !== null);
+ const evaluatorsWithCallable = evaluators.filter(
289
+ (e) => e.callable !== undefined,
290
+ );
291
292
if (evaluatorsWithCallable.length > 0 && function_ == null) {
293
throw new Error(
0 commit comments