Skip to content

Commit 129b905

Browse files
committed
test: build
1 parent 46f057c commit 129b905

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/store/modules/user/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const useUserStore = defineStore('user-store', {
1010
this.userInfo = { ...this.userInfo, ...userInfo }
1111
this.recordState()
1212
if (update) {
13-
await fetchUpdateUserInfo(userInfo.name ?? '', userInfo.avatar ?? '', userInfo.description ?? '')
13+
await fetchUpdateUserInfo(userInfo.name ?? '', userInfo.avatar ?? '', userInfo.description ?? '', userInfo.temperature ?? 0.8, userInfo.top_p ?? 0.9, userInfo.presencePenalty ?? 0.6, userInfo.systemRole ?? '')
1414
// 更新用户信息和额度写一起了,如果传了额度则更新
1515
if (userInfo.useAmount)
1616
await fetchUpdateUserAmt(userInfo.useAmount)

0 commit comments

Comments
 (0)