Yidadaa 1 year ago
parent
commit
2e9e69d66c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/store/app.ts

+ 1 - 1
app/store/app.ts

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