Auto Commit

上级 eb4d9962
......@@ -104,11 +104,14 @@ export default {
const finish = finish_reason === 'stop' || finish_reason === 'length';
const content = data.choices[0].delta.content;
console.log(222, content);
if (finish) {
this.loading = false;
} else if (content) {
const text = content;
dialog.text += text;
if (content.indexOf('超过访问限制') >=0) this.loading = false;
}
},
onerror: (err) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册