From 129b9051beef62b9f4cfba4cac6adfedde555aa5 Mon Sep 17 00:00:00 2001 From: jmal Date: Tue, 14 May 2024 16:53:45 +0800 Subject: [PATCH] test: build --- src/store/modules/user/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/user/index.ts b/src/store/modules/user/index.ts index d915f5b1..65e9536d 100644 --- a/src/store/modules/user/index.ts +++ b/src/store/modules/user/index.ts @@ -10,7 +10,7 @@ export const useUserStore = defineStore('user-store', { this.userInfo = { ...this.userInfo, ...userInfo } this.recordState() if (update) { - await fetchUpdateUserInfo(userInfo.name ?? '', userInfo.avatar ?? '', userInfo.description ?? '') + await fetchUpdateUserInfo(userInfo.name ?? '', userInfo.avatar ?? '', userInfo.description ?? '', userInfo.temperature ?? 0.8, userInfo.top_p ?? 0.9, userInfo.presencePenalty ?? 0.6, userInfo.systemRole ?? '') // 更新用户信息和额度写一起了,如果传了额度则更新 if (userInfo.useAmount) await fetchUpdateUserAmt(userInfo.useAmount)