Skip to content

Commit

Permalink
chore: Fix grammar
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 663439184
  • Loading branch information
vertex-sdk-bot authored and copybara-github committed Aug 15, 2024
1 parent 44cb491 commit 387a194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vertexai/generative_models/_generative_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ def _validate_response(
candidate = response.candidates[0]
if candidate.finish_reason not in _SUCCESSFUL_FINISH_REASONS:
message = (
"The model response did not completed successfully.\n"
"The model response did not complete successfully.\n"
f"Finish reason: {candidate.finish_reason}.\n"
f"Finish message: {candidate.finish_message}.\n"
f"Safety ratings: {candidate.safety_ratings}.\n"
Expand Down

0 comments on commit 387a194

Please sign in to comment.