Skip to content

fix(providers/google): accept nullish in safetyRatings#6124

Merged
samdenty merged 3 commits intomainfrom
fix-6109
May 5, 2025
Merged

fix(providers/google): accept nullish in safetyRatings#6124
samdenty merged 3 commits intomainfrom
fix-6109

Conversation

@samdenty
Copy link
Copy Markdown
Contributor

@samdenty samdenty commented May 2, 2025

Background

The safetyRating was an empty object for some reason

Summary

Fixes #6109

Verification

Tasks

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • Formatting issues have been fixed (run pnpm prettier-fix in the project root)

Future Work

Related Issues

@samdenty samdenty marked this pull request as draft May 2, 2025 16:28
@samdenty samdenty marked this pull request as ready for review May 5, 2025 13:27
@samdenty samdenty merged commit 2afd354 into main May 5, 2025
8 checks passed
@samdenty samdenty deleted the fix-6109 branch May 5, 2025 21:37
samdenty added a commit that referenced this pull request May 7, 2025
## Background

The safetyRating was an empty object for some reason

## Summary

Fixes #6109
lgrammel pushed a commit that referenced this pull request May 9, 2025
## Background

The safetyRating was an empty object for some reason

## Summary

Fixes #6109
@gr2m gr2m added ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label provider/google Issues related to the @ai-sdk/google provider labels Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label provider/google Issues related to the @ai-sdk/google provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AI_TypeValidationError when using gemini-2.0-flash-exp model with @ai-sdk/google-vertex (image response)

3 participants