File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
src/main/kotlin/com/google/firebase/vertexai Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 11# Unreleased
2-
2+ * [ fixed ] Fixed issue where authorization headers weren't correctly formatted and were ignored by the backend. ( # 6400 )
33
44# 16.0.0
55* [ feature] {{firebase_vertexai}} is now Generally Available (GA) and can be
5252* [ feature] Added support for ` responseMimeType ` in ` GenerationConfig ` .
5353* [ changed] Renamed ` GoogleGenerativeAIException ` to ` FirebaseVertexAIException ` .
5454* [ changed] Updated the KDocs for various classes and functions.
55-
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ internal constructor(
110110 try {
111111 val token = internalAuthProvider.getAccessToken(false ).await()
112112
113- headers[" Authorization" ] = token.token!!
113+ headers[" Authorization" ] = " Firebase ${ token.token!! } "
114114 } catch (e: Exception ) {
115115 Log .w(TAG , " Error getting Auth token " , e)
116116 }
You can’t perform that action at this time.
0 commit comments