Skip to content

Commit e2adacf

Browse files
committed
fix(evals): use HumanloopRuntimeError consistently for user-facing errors
1 parent 354ad16 commit e2adacf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/humanloop/evals/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ def _get_file_callable(file_config: FileEvalConfig) -> Optional[Callable]:
691691
f"No `callable` provided for your {type_} file - will attempt to generate logs on Humanloop.\n\n"
692692
)
693693
elif type_ == "agent":
694-
raise ValueError("Agent evaluation is only possible on the Humanloop runtime, do not provide a `callable`.")
694+
raise HumanloopRuntimeError("Agent evaluation is only possible on the Humanloop runtime, do not provide a `callable`.")
695695
return function_
696696

697697

0 commit comments

Comments
 (0)