Skip to content

Commit fbc9641

Browse files
committed
minor refactor
1 parent cc16866 commit fbc9641

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • backend/modules/evaluation/domain/entity

backend/modules/evaluation/domain/entity/expt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func (e *Experiment) AsyncCallEvaluators() bool {
175175
return false
176176
}
177177
for _, ev := range e.Evaluators {
178-
if ev.EvaluatorType == EvaluatorTypeAgent {
178+
if ev.IsAsync() {
179179
return true
180180
}
181181
}

0 commit comments

Comments
 (0)