Skip to content

Commit 0f153a3

Browse files
authored
docs: update gemini model (#2990)
## Description > Should include a concise description of the changes (bug or feature), it's > impact, along with a summary of the solution ## PR Checklist > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [ ] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) - [ ] Make sure to add `!` if this involve a breaking change 🛠️ Fixes #<issue_number_goes_here>
1 parent 76fa9d7 commit 0f153a3

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/en/documentation/getting-started/quickstart/js/genkit/quickstart.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export async function main() {
3030
apiKey: process.env.GEMINI_API_KEY || GOOGLE_API_KEY
3131
})
3232
],
33-
model: googleAI.model('gemini-2.0-flash'),
33+
model: googleAI.model('gemini-2.5-flash'),
3434
});
3535

3636
const toolboxTools = await toolboxClient.loadToolset("my-toolset");

docs/en/documentation/getting-started/quickstart/js/langchain/quickstart.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const queries = [
2525

2626
export async function main() {
2727
const model = new ChatGoogleGenerativeAI({
28-
model: "gemini-2.0-flash",
28+
model: "gemini-2.5-flash",
2929
});
3030

3131
const client = new ToolboxClient("http://127.0.0.1:5000");

docs/en/documentation/getting-started/quickstart/js/llamaindex/quickstart.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export async function main() {
3939

4040
// Initialize LLM
4141
const llm = gemini({
42-
model: GEMINI_MODEL.GEMINI_2_0_FLASH,
42+
model: GEMINI_MODEL.GEMINI_2_5_FLASH_LATEST,
4343
apiKey: GOOGLE_API_KEY,
4444
});
4545

0 commit comments

Comments
 (0)