Update server.js
Browse files
server.js
CHANGED
|
@@ -149,11 +149,8 @@ app.post('/cr', async (req, res) => {
|
|
| 149 |
//frequency_penalty: -0.2,
|
| 150 |
// model: "gemini-1.0-ultra",
|
| 151 |
//model: "gemini-1.5-flash-latest",
|
| 152 |
-
}
|
| 153 |
-
|
| 154 |
-
'Authorization': `Bearer ${apiKey}`,
|
| 155 |
-
'Content-Type': 'application/json',
|
| 156 |
-
},
|
| 157 |
});
|
| 158 |
|
| 159 |
if (response.data.choices && response.data.choices.length > 0 && response.data.choices[0].message) {
|
|
|
|
| 149 |
//frequency_penalty: -0.2,
|
| 150 |
// model: "gemini-1.0-ultra",
|
| 151 |
//model: "gemini-1.5-flash-latest",
|
| 152 |
+
}
|
| 153 |
+
|
|
|
|
|
|
|
|
|
|
| 154 |
});
|
| 155 |
|
| 156 |
if (response.data.choices && response.data.choices.length > 0 && response.data.choices[0].message) {
|