mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-19 20:21:49 +08:00
fixup
This commit is contained in:
@@ -122,7 +122,7 @@ export function limitModel(name: string) {
|
|||||||
|
|
||||||
export const ModalConfigValidator = {
|
export const ModalConfigValidator = {
|
||||||
model(x: string) {
|
model(x: string) {
|
||||||
return limitModel(x);
|
return limitModel(x) as ModelType;
|
||||||
},
|
},
|
||||||
max_tokens(x: number) {
|
max_tokens(x: number) {
|
||||||
return limitNumber(x, 0, 32000, 2000);
|
return limitNumber(x, 0, 32000, 2000);
|
||||||
|
Reference in New Issue
Block a user