jbilcke commited on
Commit
ea5dd54
1 Parent(s): bca383d

fix for Groq

Browse files
Files changed (1) hide show
  1. src/app/queries/predictWithGroq.ts +1 -1
src/app/queries/predictWithGroq.ts CHANGED
@@ -11,7 +11,7 @@ export async function predict(inputs: string, nbMaxNewTokens: number): Promise<s
11
  })
12
 
13
  const messages: Groq.Chat.Completions.CompletionCreateParams.Message[] = [
14
- { role: "assistant", content: "" },
15
  ]
16
 
17
  try {
 
11
  })
12
 
13
  const messages: Groq.Chat.Completions.CompletionCreateParams.Message[] = [
14
+ { role: "assistant", content: inputs },
15
  ]
16
 
17
  try {