Skip to content

Conversation

andrewheard
Copy link
Contributor

@andrewheard andrewheard commented Sep 19, 2024

Removed the extraneous public init(from decoder: Decoder) throws implementation from SafetySetting.BlockThreshold. This type is now Encodable-only as of #13666 since it is only used in requests.

Removed extraneous cases unknown and unspecified from the BlockThreshold enum. Considering this non-breaking since any requests using unknown or unspecified will results in errors from the backend.

#no-changelog

@andrewheard andrewheard changed the title [Vertex AI] Remove init(from: Decoder) from BlockThreshold [Vertex AI] Cleanup Decodable impl from BlockThreshold Sep 19, 2024
@andrewheard andrewheard merged commit c282b6c into main Sep 19, 2024
32 checks passed
@andrewheard andrewheard deleted the ah/vertex-blockthreshold-decode branch September 19, 2024 16:30
@firebase firebase locked and limited conversation to collaborators Oct 20, 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