Add missing model selection in honoai_gemini.ai.js

Add missing model selection
This commit is contained in:
Jihoon Yi 2025-05-10 16:22:08 +09:00 committed by GitHub
parent bcdfef3f6f
commit b1078cd36c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,6 +7,8 @@ function main(args) {
var res = LIE.create()
.setProvider(provider)
// If no model is specified, the first possible model is used.
.setModel("gemini-2.0-flash")
.inference(text, 0)
.join(' ')
console.log(res)