fix: #3186 enable max_tokens in chat payload

This commit is contained in:
Yidadaa
2023-11-09 03:19:13 +08:00
parent 33b97082fa
commit d0a1d910d4
3 changed files with 5 additions and 4 deletions

View File

@@ -76,8 +76,8 @@ export function ModelConfigList(props: {
>
<input
type="number"
min={100}
max={100000}
min={1024}
max={512000}
value={props.modelConfig.max_tokens}
onChange={(e) =>
props.updateConfig(