明树Git Lab

Commit 6d7b69a1 authored by zfp1's avatar zfp1

3

parent d4083f5e
...@@ -39,7 +39,7 @@ app.post('/wechat', async (req, res) => { ...@@ -39,7 +39,7 @@ app.post('/wechat', async (req, res) => {
role: "user", role: "user",
content: message content: message
}], }],
stream: true stream: false
}); });
let fullContent = completion.choices[0].message.content|| ''; let fullContent = completion.choices[0].message.content|| '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment