Skip to content

Commit 089c90a

Browse files
committed
Remove unnecessary Unknown option for HarmBlockThreshold
The value is always specified by the developer and sent to the backend (not read back), so we don't need to include that option in the enum.
1 parent 637da27 commit 089c90a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/HarmBlockThreshold.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ package com.google.firebase.vertexai.type
2020
* Represents the threshold for some [HarmCategory] that is allowed and blocked by [SafetySetting].
2121
*/
2222
enum class HarmBlockThreshold {
23-
/** The threshold was not specified. */
24-
UNKNOWN,
25-
2623
/** Content with negligible harm is allowed. */
2724
LOW_AND_ABOVE,
2825

0 commit comments

Comments
 (0)