change ValuedSlider's step to 100
This commit is contained in:
parent
48fef0235b
commit
41e5bd5eb8
@ -175,7 +175,7 @@ const CompletionPanel: FC = observer(() => {
|
|||||||
desc={t('By default, the maximum number of tokens that can be answered in a single response, it can be changed by the user by specifying API parameters.')}
|
desc={t('By default, the maximum number of tokens that can be answered in a single response, it can be changed by the user by specifying API parameters.')}
|
||||||
content={
|
content={
|
||||||
<ValuedSlider value={params.maxResponseToken} min={100} max={8100}
|
<ValuedSlider value={params.maxResponseToken} min={100} max={8100}
|
||||||
step={400}
|
step={100}
|
||||||
input
|
input
|
||||||
onChange={(e, data) => {
|
onChange={(e, data) => {
|
||||||
setParams({
|
setParams({
|
||||||
|
@ -150,7 +150,7 @@ const Configs: FC = observer(() => {
|
|||||||
desc={t('By default, the maximum number of tokens that can be answered in a single response, it can be changed by the user by specifying API parameters.')}
|
desc={t('By default, the maximum number of tokens that can be answered in a single response, it can be changed by the user by specifying API parameters.')}
|
||||||
content={
|
content={
|
||||||
<ValuedSlider value={selectedConfig.apiParameters.maxResponseToken} min={100} max={8100}
|
<ValuedSlider value={selectedConfig.apiParameters.maxResponseToken} min={100} max={8100}
|
||||||
step={400}
|
step={100}
|
||||||
input
|
input
|
||||||
onChange={(e, data) => {
|
onChange={(e, data) => {
|
||||||
setSelectedConfigApiParams({
|
setSelectedConfigApiParams({
|
||||||
|
Loading…
Reference in New Issue
Block a user