Skip to content

Commit 10899d8

Browse files
committed
add
1 parent 4311a5c commit 10899d8

File tree

3 files changed

+548
-4
lines changed

3 files changed

+548
-4
lines changed

eval_protocol/pytest/evaluation_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -478,9 +478,9 @@ async def _execute_groupwise_eval_with_semaphore(
478478
results = rows
479479
for row in results:
480480
row.evaluation_result = EvaluateResult(
481-
score=0.0,
482-
is_score_valid=False,
483-
reason=f"Error during evaluation: {type(e).__name__}: {e}",
481+
score=0.0,
482+
is_score_valid=False,
483+
reason=f"Error during evaluation: {type(e).__name__}: {e}",
484484
)
485485
if row.eval_metadata is not None:
486486
row.eval_metadata.status = Status.error(

eval_protocol/pytest/exception_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
litellm.exceptions.NotFoundError,
3636
litellm.exceptions.BadRequestError, # remove this once we have a long term solution
3737
litellm.exceptions.ServiceUnavailableError,
38-
litellm.exceptions.APIError
38+
litellm.exceptions.APIError,
3939
}
4040

4141

0 commit comments

Comments
 (0)