fix: openai models messages

This commit is contained in:
Timothy J. Baek 2023-11-28 13:25:41 -08:00
parent 479913cf76
commit 6bc10c8794
2 changed files with 4 additions and 0 deletions

View file

@ -238,6 +238,8 @@
];
}
await tick();
window.scrollTo({ top: document.body.scrollHeight });
const res = await fetch(`https://api.openai.com/v1/chat/completions`, {

View file

@ -273,6 +273,8 @@
];
}
await tick();
window.scrollTo({ top: document.body.scrollHeight });
const res = await fetch(`https://api.openai.com/v1/chat/completions`, {