forked from XiaoMo/ChatGPT-Next-Web
fixup
This commit is contained in:
parent
e3d2dd7279
commit
2e9e69d66c
@ -122,7 +122,7 @@ export function limitModel(name: string) {
|
||||
|
||||
export const ModalConfigValidator = {
|
||||
model(x: string) {
|
||||
return limitModel(x);
|
||||
return limitModel(x) as ModelType;
|
||||
},
|
||||
max_tokens(x: number) {
|
||||
return limitNumber(x, 0, 32000, 2000);
|
||||
|
Loading…
Reference in New Issue
Block a user