Skip to content

Commit 3f1908a

Browse files
authored
docs: fix JS quickstart (googleapis#2406)
## Description Response is being re-assigned ## 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 eef7a94 commit 3f1908a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

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

5454
for (const query of queries) {
5555
conversationHistory.push({ role: "user", content: [{ text: query }] });
56-
const response = await ai.generate({
56+
let response = await ai.generate({
5757
messages: conversationHistory,
5858
tools: tools,
5959
});

0 commit comments

Comments
 (0)