Spaces:
Sleeping
Sleeping
fix for Groq
Browse files
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 {
|