feat: 允许temperature调到2 (#1797)

ref: https://platform.openai.com/docs/api-reference/chat/create#chat/create-temperature
This commit is contained in:
shansing 2023-06-26 18:17:11 +08:00 committed by GitHub
parent c6e1663a39
commit b8f2a0e849
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ function handleReset() {
<div class="flex items-center space-x-4">
<span class="flex-shrink-0 w-[120px]">{{ $t('setting.temperature') }} </span>
<div class="flex-1">
<NSlider v-model:value="temperature" :max="1" :min="0" :step="0.1" />
<NSlider v-model:value="temperature" :max="2" :min="0" :step="0.1" />
</div>
<span>{{ temperature }}</span>
<NButton size="tiny" text type="primary" @click="updateSettings({ temperature })">