From 0a2af9335c9cc465fda02e5e371adef3fbf2f28a Mon Sep 17 00:00:00 2001 From: PaRaD1SE98 Date: Tue, 4 Jul 2023 02:49:05 +0900 Subject: [PATCH] fix: temperature -> top_p --- app/components/model-config.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/model-config.tsx b/app/components/model-config.tsx index 9fd4677e..f82027dc 100644 --- a/app/components/model-config.tsx +++ b/app/components/model-config.tsx @@ -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, )), );