mirror of
https://github.com/wasnertobias/StalkingAId.git
synced 2025-10-16 11:55:43 +00:00
Use temp logging
This commit is contained in:
parent
588ac6eac6
commit
1b43cee981
@ -78,7 +78,7 @@ async function getResponse(history, res) {
|
|||||||
presence_penalty: 0.6,
|
presence_penalty: 0.6,
|
||||||
stop: ["\n"],
|
stop: ["\n"],
|
||||||
});
|
});
|
||||||
const stringResponse = JSON.stringify(response.data);
|
console.log("got from openai: " + JSON.stringify(response.data));
|
||||||
history.push({
|
history.push({
|
||||||
msg: response.data.choices[0].text,
|
msg: response.data.choices[0].text,
|
||||||
ai: true
|
ai: true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user