Skip to content

Commit d3e75a9

Browse files
authored
Move requestOptions to be the last positional argument (#6292)
b/368716151
1 parent 7bc8e51 commit d3e75a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/FirebaseVertexAI.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ internal constructor(
5555
modelName: String,
5656
generationConfig: GenerationConfig? = null,
5757
safetySettings: List<SafetySetting>? = null,
58-
requestOptions: RequestOptions = RequestOptions(),
5958
tools: List<Tool>? = null,
6059
toolConfig: ToolConfig? = null,
6160
systemInstruction: Content? = null,
61+
requestOptions: RequestOptions = RequestOptions(),
6262
): GenerativeModel {
6363
if (location.trim().isEmpty() || location.contains("/")) {
6464
throw InvalidLocationException(location)

0 commit comments

Comments
 (0)