setting a model for tests
This commit is contained in:
parent
48538102af
commit
c42097b83f
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ self.onmessage = async function(event) {
|
|||
// stream: true,
|
||||
// }),
|
||||
// });
|
||||
const response = await openai.fetchResponse("gpt-4-1106-preview", conversationHistory); //4096);
|
||||
const response = await openai.fetchResponse("gpt-4o-mini", conversationHistory); //4096);
|
||||
postMessage({ type: 'messageSent' });
|
||||
const reader = response.body.getReader();
|
||||
const decoder = new TextDecoder("utf-8");
|
||||
|
|
|
|||
Loading…
Reference in a new issue