Skip to content

Commit c8c0f0f

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
fix: Add None check for agent_info in evals.py
PiperOrigin-RevId: 853833848
1 parent 9952b97 commit c8c0f0f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

vertexai/_genai/evals.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,6 +1608,7 @@ def create_evaluation_run(
16081608
)
16091609
if (
16101610
dataset.candidate_name
1611+
and agent_info
16111612
and agent_info.name
16121613
and dataset.candidate_name != agent_info.name
16131614
):

0 commit comments

Comments
 (0)