Skip to content

Commit

Permalink
try fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sdcb committed Dec 11, 2024
1 parent e146cd0 commit 0122cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FE/pages/home/_components/Chat/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ const Chat = memo(() => {
/>
)}
{selectModel?.allowTemperature &&
userModelConfig && userModelConfig.temperature !== null && (
userModelConfig && userModelConfig.temperature !== null && userModelConfig.temperature !== undefined && (
<TemperatureSlider
label={t('Temperature')}
min={0}
Expand Down

0 comments on commit 0122cdd

Please sign in to comment.