Skip to content

Commit a7f489d

Browse files
committed
Adjust signature
1 parent 1ebb8db commit a7f489d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebase-ai/src/main/kotlin/com/google/firebase/ai/common/APIController.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ private suspend fun validateResponse(response: HttpResponse) {
335335
throw PromptBlockedException(message)
336336
}
337337
if (message.contains("genai config not found")) {
338-
throw NotConfiguredException(message)
338+
throw NotConfiguredException()
339339
}
340340
getServiceDisabledErrorDetailsOrNull(error)?.let {
341341
val errorMessage =

0 commit comments

Comments
 (0)