feat: improve auto scroll ux and edit model title

This commit is contained in:
Yidadaa
2023-08-02 23:35:51 +08:00
parent cbabb9392c
commit b5ef552c25
6 changed files with 27 additions and 16 deletions

View File

@@ -76,7 +76,7 @@ export function ModelConfigList(props: {
<input
type="number"
min={100}
max={32000}
max={100000}
value={props.modelConfig.max_tokens}
onChange={(e) =>
props.updateConfig(
@@ -169,7 +169,7 @@ export function ModelConfigList(props: {
title={props.modelConfig.historyMessageCount.toString()}
value={props.modelConfig.historyMessageCount}
min="0"
max="32"
max="64"
step="1"
onChange={(e) =>
props.updateConfig(