Skip to content

Conversation

andrewheard
Copy link
Contributor

Removed the SafetyFeedback struct from the Vertex AI SDK since it isn't used anywhere. This also means that SafetyRating.HarmProbability, SafetySetting and SafetySetting.BlockThreshold and no longer need to be Codable since they are exclusively used for request (Encodable) or response (Decodable) types.

#no-changelog

@andrewheard
Copy link
Contributor Author

@paulb777 Should this have a changelog entry? Although it was completely useless it was a public struct.

Copy link
Member

@paulb777 paulb777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No changelog necessary if there was no practical usage of the public APIs

Looks like SPM is still broken on GHA

@andrewheard
Copy link
Contributor Author

No changelog necessary if there was no practical usage of the public APIs

SGTM

Looks like SPM is still broken on GHA

I noticed earlier with Nick's PR that it did work on re-run (seems to be running here now too) so the GHA failures are intermittent.

@andrewheard andrewheard merged commit 18c90b8 into main Sep 19, 2024
32 checks passed
@andrewheard andrewheard deleted the ah/vertex-safety-feedback branch September 19, 2024 00:15
@firebase firebase locked and limited conversation to collaborators Oct 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants