Mon May 29 10:01:00 UTC 2023 inscode

上级 bfbfeff3
......@@ -99,6 +99,7 @@ export default {
return;
};
const data = JSON.parse(msg.data);
console.log(data)
const finish_reason = data.choices[0].finish_reason;
const finish = finish_reason === 'stop' || finish_reason === 'length';
const content = data.choices[0].delta.content;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册