Skip to content

Commit

Permalink
fix GenerativeModel order of params
Browse files Browse the repository at this point in the history
  • Loading branch information
thatfiredev committed Nov 13, 2024
1 parent 053c91f commit da124f1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,10 @@ void systemInstructionsText() {
/* modelName */ "gemini-1.5-pro-preview-0409",
/* generationConfig (optional) */ null,
/* safetySettings (optional) */ null,
/* requestOptions (optional) */ new RequestOptions(),
/* tools (optional) */ null,
/* toolsConfig (optional) */ null,
/* systemInstruction (optional) */ systemInstruction
/* systemInstruction (optional) */ systemInstruction,
/* requestOptions (optional) */ new RequestOptions()
);
// [END vertexai_si_text]
}
Expand Down

0 comments on commit da124f1

Please sign in to comment.