Skip to content

Commit dc0628f

Browse files
committed
Remove redundant callVertex e2e test
1 parent d3176c2 commit dc0628f

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

e2e/sample-apps/modular.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -337,17 +337,6 @@ function callDataConnect(app) {
337337
console.log('[DATACONNECT] initialized');
338338
}
339339

340-
async function callVertex(app) {
341-
console.log('[VERTEX] start');
342-
const vertex = getVertexAI(app);
343-
const model = getGenerativeModel(vertex, {
344-
mode: InferenceMode.PREFER_ON_DEVICE
345-
});
346-
const result = await model.generateContent("What is Roko's Basalisk?");
347-
console.log(result.response.text());
348-
console.log('[VERTEX] initialized');
349-
}
350-
351340
/**
352341
* Run smoke tests for all products.
353342
* Comment out any products you want to ignore.
@@ -369,7 +358,6 @@ async function main() {
369358
await callVertexAI(app);
370359
callDataConnect(app);
371360
await authLogout(app);
372-
await callVertex(app);
373361
console.log('DONE');
374362
}
375363

0 commit comments

Comments
 (0)