From fd67f980a57bc3ddab8c4d95fb7373ae0050a1b7 Mon Sep 17 00:00:00 2001 From: Qiying Wang <781345688@qq.com> Date: Tue, 20 Feb 2024 18:05:17 +0800 Subject: [PATCH] Fix temperature range (#4083) --- app/store/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/store/config.ts b/app/store/config.ts index 20bf664df56..6f2f558a042 100644 --- a/app/store/config.ts +++ b/app/store/config.ts @@ -91,7 +91,7 @@ export const ModalConfigValidator = { return limitNumber(x, -2, 2, 0); }, temperature(x: number) { - return limitNumber(x, 0, 1, 1); + return limitNumber(x, 0, 2, 1); }, top_p(x: number) { return limitNumber(x, 0, 1, 1);