We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4ea253 commit 390e773Copy full SHA for 390e773
firebase-ai/src/test/java/com/google/firebase/ai/DevAPIUnarySnapshotTests.kt
@@ -57,16 +57,6 @@ internal class DevAPIUnarySnapshotTests {
57
}
58
59
60
- @Test
61
- fun `response blocked for safety`() =
62
- goldenDevAPIUnaryFile("unary-failure-finish-reason-safety.json") {
63
- withTimeout(testTimeout) {
64
- shouldThrow<ResponseStoppedException> { model.generateContent("prompt") } should
65
- {
66
- it.response.candidates[0].finishReason shouldBe FinishReason.SAFETY
67
- }
68
69
70
71
@Test
72
fun `citation returns correctly`() =
0 commit comments