Skip to content

Commit

Permalink
DLLMs: Options: Visual indication of overrides over the baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed Jan 9, 2025
1 parent e5e9f48 commit d453adc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/llms/models-modal/LLMParametersEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function LLMParametersEditor(props: {
title='Temperature' ariaLabel='Model Temperature'
description={llmTemperature < 0.33 ? 'More strict' : llmTemperature > 1 ? 'Extra hot ♨️' : llmTemperature > 0.67 ? 'Larger freedom' : 'Creativity'}
min={0} max={overheat ? 2 : 1} step={0.1} defaultValue={0.5}
valueLabelDisplay='on'
valueLabelDisplay={parameters?.llmTemperature !== undefined ? 'on' : 'auto'}
value={llmTemperature}
onChange={value => onChangeParameter({ llmTemperature: value })}
endAdornment={
Expand All @@ -89,7 +89,7 @@ export function LLMParametersEditor(props: {
<FormSliderControl
title='Output Tokens' ariaLabel='Model Max Tokens'
min={256} max={maxOutputTokens} step={256} defaultValue={1024}
valueLabelDisplay='on'
valueLabelDisplay={parameters?.llmResponseTokens !== undefined ? 'on' : 'auto'}
value={llmResponseTokens}
onChange={value => onChangeParameter({ llmResponseTokens: value })}
/>
Expand Down

0 comments on commit d453adc

Please sign in to comment.