fix: temperature -> top_p

main
PaRaD1SE98 2 years ago committed by GitHub
parent a52fa28ed1
commit 0a2af9335c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -60,7 +60,7 @@ export function ModelConfigList(props: {
onChange={(e) => {
props.updateConfig(
(config) =>
(config.temperature = ModalConfigValidator.top_p(
(config.top_p = ModalConfigValidator.top_p(
e.currentTarget.valueAsNumber,
)),
);

Loading…
Cancel
Save