File tree 2 files changed +5
-4
lines changed 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -317,7 +317,10 @@ async function callVertexAI(app) {
317
317
mode : 'prefer_on_device'
318
318
} ) ;
319
319
const prompt = "What is Roko's Basalisk?" ;
320
- const singleResult = await model . generateContent ( prompt ) ;
320
+ const singleResult = await model . generateContent ( [
321
+ { text : 'describe the following:' } ,
322
+ { text : 'the mojave desert' }
323
+ ] ) ;
321
324
console . log ( `Generated text: ${ singleResult . response . text ( ) } ` ) ;
322
325
// const streamResult = await model.generateContentStream(
323
326
// prompt
Original file line number Diff line number Diff line change @@ -88,9 +88,7 @@ module.exports = [
88
88
stats : {
89
89
colors : true
90
90
} ,
91
- // Generates more granular source map to avoid collisions between
92
- // getGenerativeModel and getAnalytics.
93
- devtool : 'eval-source-map' ,
91
+ devtool : 'source-map' ,
94
92
devServer : {
95
93
static : './build'
96
94
}
You can’t perform that action at this time.
0 commit comments