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 1
1
# Unreleased
2
-
2
+ * [ fixed ] Fixed issue where authorization headers weren't correctly formatted and were ignored by the backend. ( # 6400 )
3
3
4
4
# 16.0.0
5
5
* [ feature] {{firebase_vertexai}} is now Generally Available (GA) and can be
52
52
* [ feature] Added support for ` responseMimeType ` in ` GenerationConfig ` .
53
53
* [ changed] Renamed ` GoogleGenerativeAIException ` to ` FirebaseVertexAIException ` .
54
54
* [ 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(
110
110
try {
111
111
val token = internalAuthProvider.getAccessToken(false ).await()
112
112
113
- headers[" Authorization" ] = token.token!!
113
+ headers[" Authorization" ] = " Firebase ${ token.token!! } "
114
114
} catch (e: Exception ) {
115
115
Log .w(TAG , " Error getting Auth token " , e)
116
116
}
You can’t perform that action at this time.
0 commit comments