Update gemini.js

Removed and extra space
This commit is contained in:
Sweaterdog 2025-03-06 11:31:43 -08:00 committed by GitHub
parent aa6920f148
commit ca7b6fc65d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,7 +39,6 @@ export class Gemini {
model: this.model_name || "gemini-1.5-flash",
// systemInstruction does not work bc google is trash
};
if (this.url) {
model = this.genAI.getGenerativeModel(
modelConfig,
@ -113,4 +112,4 @@ export class Gemini {
const result = await model.embedContent(text);
return result.embedding.values;
}
}
}