支持添加多个 ChatGPT API 代理地址

This commit is contained in:
RockYang
2023-03-26 21:10:40 +08:00
parent fe91b0f784
commit 6a38de7eaa
6 changed files with 99 additions and 21 deletions

View File

@@ -220,7 +220,7 @@ export default defineComponent({
reader.onload = () => {
const data = JSON.parse(String(reader.result));
// 过滤掉重复的打招呼信息
if (data['is_hello_msg'] && this.chatData.length > 3) {
if (data['is_hello_msg'] && this.chatData.length > 1) {
return
}