forked from XiaoMo/ChatGPT-Next-Web
fix: temperature -> top_p
This commit is contained in:
parent
a52fa28ed1
commit
0a2af9335c
@ -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…
Reference in New Issue
Block a user