Browse Source

fix: #159 temperature should range 0 - 2

Yifei Zhang 2 năm trước cách đây
mục cha
commit
380f818285
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/components/settings.tsx

+ 1 - 1
app/components/settings.tsx

@@ -389,7 +389,7 @@ export function Settings(props: { closeSettings: () => void }) {
               type="range"
               value={config.modelConfig.temperature.toFixed(1)}
               min="0"
-              max="1"
+              max="2"
               step="0.1"
               onChange={(e) => {
                 updateConfig(