Skip to content

Commit

Permalink
parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
gemini-15 committed Oct 8, 2024
1 parent 4eb47fd commit 0317975
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/conversation/[id]/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ self.addEventListener("message", async (event) => {
let body = JSON.stringify({
model: event.data.model,
prompt: res,
max_tokens: 2048,
temperature: 0.8
max_tokens: newParameters.max_new_tokens,
temperature: newParameters.temperature
});
console.log(body);
let text_output = "";
Expand Down

0 comments on commit 0317975

Please sign in to comment.