fix: temperature -> top_p

This commit is contained in:
PaRaD1SE98 2023-07-04 02:49:05 +09:00 committed by GitHub
parent a52fa28ed1
commit 0a2af9335c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
)),
);