@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.
@@ -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: 'us-central1', // Mejor disponibilidad para modelos Gemini 2.5
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.5-flash-lite-preview-06-17'; // Flash es más rápido que Pro
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runnerpro/backend",
3
- "version": "1.13.34",
3
+ "version": "1.13.35",
4
4
  "description": "A collection of common backend functions",
5
5
  "exports": {
6
6
  ".": "./lib/cjs/index.js"