Spaces:
Running
Running
Update aiEngine.js
Browse files- aiEngine.js +10 -5
aiEngine.js
CHANGED
|
@@ -107,11 +107,14 @@ export const AIEngine = {
|
|
| 107 |
const response = await genAI.models.generateContent({
|
| 108 |
model: modelId,
|
| 109 |
|
| 110 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 111 |
thinkingBudget: -1,
|
| 112 |
},
|
| 113 |
-
|
| 114 |
-
config: {
|
| 115 |
responseMimeType: "application/json",
|
| 116 |
systemInstruction: { parts: [{ text: prompts.analyst_system_prompt }] }
|
| 117 |
},
|
|
@@ -140,11 +143,13 @@ export const AIEngine = {
|
|
| 140 |
const response = await genAI.models.generateContent({
|
| 141 |
model: modelId,
|
| 142 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 143 |
thinkingConfig: {
|
| 144 |
thinkingBudget: -1,
|
| 145 |
},
|
| 146 |
-
|
| 147 |
-
config: {
|
| 148 |
responseMimeType: "application/json",
|
| 149 |
systemInstruction: { parts: [{ text: prompts.analyst_system_prompt }] }
|
| 150 |
},
|
|
|
|
| 107 |
const response = await genAI.models.generateContent({
|
| 108 |
model: modelId,
|
| 109 |
|
| 110 |
+
|
| 111 |
+
|
| 112 |
+
config: {
|
| 113 |
+
|
| 114 |
+
thinkingConfig: {
|
| 115 |
thinkingBudget: -1,
|
| 116 |
},
|
| 117 |
+
|
|
|
|
| 118 |
responseMimeType: "application/json",
|
| 119 |
systemInstruction: { parts: [{ text: prompts.analyst_system_prompt }] }
|
| 120 |
},
|
|
|
|
| 143 |
const response = await genAI.models.generateContent({
|
| 144 |
model: modelId,
|
| 145 |
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
config: {
|
| 149 |
+
|
| 150 |
thinkingConfig: {
|
| 151 |
thinkingBudget: -1,
|
| 152 |
},
|
|
|
|
|
|
|
| 153 |
responseMimeType: "application/json",
|
| 154 |
systemInstruction: { parts: [{ text: prompts.analyst_system_prompt }] }
|
| 155 |
},
|