Skip to content

Commit 2b62432

Browse files
author
Guiners
committed
fixing functions names
1 parent 1f76398 commit 2b62432

6 files changed

Lines changed: 9 additions & 9 deletions

genai/test/thinking-budget-with-txt.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const sample = require('../thinking/thinking-budget-with-txt.js');
2323
describe('thinking-budget-with-txt', () => {
2424
it('should return Thought Process', async function () {
2525
this.timeout(50000);
26-
const output = await sample.generateContent(projectId);
26+
const output = await sample.generateWithThoughts(projectId);
2727
assert(output.length > 0);
2828
});
2929
});

genai/test/thinking-includethoughts-with-txt.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const sample = require('../thinking/thinking-includethoughts-with-txt.js');
2323
describe('thinking-includethoughts-with-txt', () => {
2424
it('should return Thought Process', async function () {
2525
this.timeout(50000);
26-
const output = await sample.generateContent(projectId);
26+
const output = await sample.generateWithThoughts(projectId);
2727
assert(output.length > 0);
2828
});
2929
});

genai/test/thinking-with-txt.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const sample = require('../thinking/thinking-with-txt.js');
2323
describe('thinking-with-txt', () => {
2424
it('should return Thought Process', async function () {
2525
this.timeout(50000);
26-
const output = await sample.generateContent(projectId);
26+
const output = await sample.generateWithThoughts(projectId);
2727
assert(output.length > 0);
2828
});
2929
});

genai/thinking/thinking-budget-with-txt.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const {GoogleGenAI} = require('@google/genai');
2020
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_PROJECT;
2121
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION || 'global';
2222

23-
async function generateContent(
23+
async function generateWithThoughts(
2424
projectId = GOOGLE_CLOUD_PROJECT,
2525
location = GOOGLE_CLOUD_LOCATION
2626
) {
@@ -65,5 +65,5 @@ async function generateContent(
6565
// [END googlegenaisdk_thinking_budget_with_txt]
6666

6767
module.exports = {
68-
generateContent,
68+
generateWithThoughts,
6969
};

genai/thinking/thinking-includethoughts-with-txt.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const {GoogleGenAI} = require('@google/genai');
2020
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_PROJECT;
2121
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION || 'global';
2222

23-
async function generateContent(
23+
async function generateWithThoughts(
2424
projectId = GOOGLE_CLOUD_PROJECT,
2525
location = GOOGLE_CLOUD_LOCATION
2626
) {
@@ -94,5 +94,5 @@ async function generateContent(
9494
// [END googlegenaisdk_thinking_includethoughts_with_txt]
9595

9696
module.exports = {
97-
generateContent,
97+
generateWithThoughts,
9898
};

genai/thinking/thinking-with-txt.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const {GoogleGenAI} = require('@google/genai');
2020
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_PROJECT;
2121
const GOOGLE_CLOUD_LOCATION = process.env.GOOGLE_CLOUD_LOCATION || 'global';
2222

23-
async function generateContent(
23+
async function generateWithThoughts(
2424
projectId = GOOGLE_CLOUD_PROJECT,
2525
location = GOOGLE_CLOUD_LOCATION
2626
) {
@@ -94,5 +94,5 @@ async function generateContent(
9494
// [END googlegenaisdk_thinking_with_txt]
9595

9696
module.exports = {
97-
generateContent,
97+
generateWithThoughts,
9898
};

0 commit comments

Comments
 (0)