Spaces:
Sleeping
Sleeping
Commit
•
e22103d
1
Parent(s):
38e51b8
fix openai glitch
Browse files
src/app/queries/predictWithOpenAI.ts
CHANGED
@@ -14,7 +14,7 @@ export async function predict(inputs: string, nbPanels: number): Promise<string>
|
|
14 |
})
|
15 |
|
16 |
const messages: ChatCompletionMessage[] = [
|
17 |
-
{ role: "
|
18 |
]
|
19 |
|
20 |
try {
|
|
|
14 |
})
|
15 |
|
16 |
const messages: ChatCompletionMessage[] = [
|
17 |
+
{ role: "assistant", content: inputs },
|
18 |
]
|
19 |
|
20 |
try {
|