diff --git a/firebase-ai/api.txt b/firebase-ai/api.txt index 43ee5243d6a..7d4d9e3d2d2 100644 --- a/firebase-ai/api.txt +++ b/firebase-ai/api.txt @@ -157,6 +157,9 @@ package com.google.firebase.ai.java { package com.google.firebase.ai.type { + public final class APINotConfiguredException extends com.google.firebase.ai.type.FirebaseAIException { + } + public final class AudioRecordInitializationFailedException extends com.google.firebase.ai.type.FirebaseAIException { ctor public AudioRecordInitializationFailedException(String message); } diff --git a/firebase-ai/gradle.properties b/firebase-ai/gradle.properties index 40274ac5e9a..7428e5097cb 100644 --- a/firebase-ai/gradle.properties +++ b/firebase-ai/gradle.properties @@ -12,5 +12,5 @@ # See the License for the specific language governing permissions and # limitations under the License. -version=17.1.0 -latestReleasedVersion=17.0.0 +version=17.2.0 +latestReleasedVersion=17.1.0 diff --git a/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Exceptions.kt b/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Exceptions.kt index b7f94da44cc..4118afd57c4 100644 --- a/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Exceptions.kt +++ b/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Exceptions.kt @@ -158,7 +158,7 @@ public class UnsupportedUserLocationException internal constructor(cause: Throwa * [steps](https://firebase.google.com/docs/ai-logic/faq-and-troubleshooting?api=dev#error-genai-config-not-found) * to enable the Gemini Developer API. */ -internal class APINotConfiguredException internal constructor(cause: Throwable? = null) : +public class APINotConfiguredException internal constructor(cause: Throwable? = null) : FirebaseAIException("Gemini Developer API not enabled in Firebase console.", cause) /**