Skip to content

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

Merged
lgrammel merged 1 commit intov5from
v5-6124
May 9, 2025
Merged

fix(providers/google): accept nullish in safetyRatings (#6124)#6221
lgrammel merged 1 commit intov5from
v5-6124

Conversation

@samdenty
Copy link
Copy Markdown
Contributor

@samdenty samdenty commented May 7, 2025

Background

The safetyRating was an empty object for some reason

Summary

Fixes #6109

Background

Summary

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

## Background

The safetyRating was an empty object for some reason

## Summary

Fixes #6109
@lgrammel lgrammel merged commit f07a6d4 into v5 May 9, 2025
9 checks passed
@lgrammel lgrammel deleted the v5-6124 branch May 9, 2025 09:04
@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.

3 participants