Spaces:
Paused
Paused
Commit
·
384beb4
1
Parent(s):
3cd6c6b
Update src/pages/api/llm.js
Browse files- src/pages/api/llm.js +1 -1
src/pages/api/llm.js
CHANGED
@@ -21,7 +21,7 @@ const handler = async (req) => {
|
|
21 |
|
22 |
let promptToSend = "You are a helpful assistant";
|
23 |
|
24 |
-
const stream = await LLMStream(model, promptToSend, 0.8,
|
25 |
|
26 |
return new Response(stream);
|
27 |
} catch (error) {
|
|
|
21 |
|
22 |
let promptToSend = "You are a helpful assistant";
|
23 |
|
24 |
+
const stream = await LLMStream(model, promptToSend, 0.8, null, messages, functions);
|
25 |
|
26 |
return new Response(stream);
|
27 |
} catch (error) {
|