Browse Source

Fix temperature range (#4083)

Qiying Wang 1 year ago
parent
commit
fd67f980a5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/store/config.ts

+ 1 - 1
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);