Remove console.log
This commit is contained in:
parent
3e6b798508
commit
3ea5229fd6
1 changed files with 0 additions and 1 deletions
|
@ -42,7 +42,6 @@ export const callOpenAiAPI = async ({ prompt, bearer, aiPersonality = "" }: { pr
|
||||||
},
|
},
|
||||||
body: JSON.stringify(data),
|
body: JSON.stringify(data),
|
||||||
};
|
};
|
||||||
console.log("init:", init);
|
|
||||||
|
|
||||||
const response = await fetch(API_URL, init);
|
const response = await fetch(API_URL, init);
|
||||||
const body = await response.json().then(data => data.choices[0].message.content);
|
const body = await response.json().then(data => data.choices[0].message.content);
|
||||||
|
|
Loading…
Add table
Reference in a new issue