@runnerpro/backend 1.16.0 → 1.16.3
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
CHANGED
|
@@ -23,10 +23,10 @@ function sendPrompt(prompt, model = 'FLASH') {
|
|
|
23
23
|
let modelGemini;
|
|
24
24
|
if (model === 'LITE')
|
|
25
25
|
modelGemini = 'gemini-2.5-flash-lite';
|
|
26
|
-
else if (model === 'FLASH')
|
|
27
|
-
modelGemini = 'gemini-2.5-flash';
|
|
28
26
|
else if (model === 'PRO')
|
|
29
27
|
modelGemini = 'gemini-2.5-pro';
|
|
28
|
+
else
|
|
29
|
+
modelGemini = 'gemini-2.5-flash';
|
|
30
30
|
// Configura el modelo generativo con parámetros optimizados para velocidad
|
|
31
31
|
const generativeModel = vertex_ai.preview.getGenerativeModel({
|
|
32
32
|
model: modelGemini,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/prompt/index.ts"],"names":[],"mappings":"AAEA,iBAAe,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,GAAE,MAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/prompt/index.ts"],"names":[],"mappings":"AAEA,iBAAe,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,GAAE,MAAgB,mBAmChE;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"}
|