@runnerpro/backend 1.13.34 → 1.13.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/prompt/index.js +2 -2
- package/package.json +1 -1
package/lib/cjs/prompt/index.js
CHANGED
|
@@ -17,10 +17,10 @@ function sendPrompt(prompt, options = {}) {
|
|
|
17
17
|
// Inicializa el cliente de Vertex AI
|
|
18
18
|
const vertex_ai = new VertexAI({
|
|
19
19
|
project: process.env.PROJECT_ID, // Reemplaza con tu ID de proyecto de Google Cloud
|
|
20
|
-
location: '
|
|
20
|
+
location: 'europe-west8', // Reemplaza con tu región
|
|
21
21
|
});
|
|
22
22
|
// Selecciona el modelo de Gemini más rápido
|
|
23
|
-
const model = 'gemini-2.
|
|
23
|
+
const model = 'gemini-2.0-flash-lite';
|
|
24
24
|
// Configura el modelo generativo con parámetros optimizados para velocidad
|
|
25
25
|
const generativeModel = vertex_ai.preview.getGenerativeModel({
|
|
26
26
|
model: model,
|