Skip to content

Commit d03468a

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
chore: Fix grammar
PiperOrigin-RevId: 663387915
1 parent ecc2d54 commit d03468a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vertexai/preview/evaluation/_evaluation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def _generate_response_from_gemini(
281281
candidate = response.candidates[0]
282282
if candidate.finish_reason not in _SUCCESSFUL_FINISH_REASONS:
283283
raise RuntimeError(
284-
"The model response did not completed successfully.\n"
284+
"The model response did not complete successfully.\n"
285285
f"Finish reason: {candidate.finish_reason}.\n"
286286
f"Finish message: {candidate.finish_message}.\n"
287287
f"Safety ratings: {candidate.safety_ratings}.\n"

0 commit comments

Comments
 (0)