Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Vertex AI] Cleanup Decodable impl from BlockThreshold #13673

Merged
merged 1 commit into from
Sep 19, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants