Sarah Ciston commited on
Commit
12c633b
·
1 Parent(s): 2f79610

fix stupid typo: left off message in request

Browse files
Files changed (1) hide show
  1. sketch.js +1 -2
sketch.js CHANGED
@@ -182,8 +182,7 @@ async function runModel(PREPROMPT, PROMPT){
182
  // Chat completion API
183
  const out = await inference.chatCompletion({
184
  model: MODELNAME,
185
- // model: "google/gemma-2-9b",
186
- // messages: [{ role: "user", content: PREPROMPT + PROMPT }],
187
  max_tokens: 100
188
  });
189
 
 
182
  // Chat completion API
183
  const out = await inference.chatCompletion({
184
  model: MODELNAME,
185
+ messages: [{ role: "user", content: PREPROMPT + PROMPT }],
 
186
  max_tokens: 100
187
  });
188