Rooni commited on
Commit
2853f06
·
verified ·
1 Parent(s): ce6ac9a

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +2 -5
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
- headers: {
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) {