This commit is contained in:
GH Action - Upstream Sync
2023-08-03 01:05:43 +00:00
17 changed files with 60 additions and 28 deletions

View File

@@ -81,7 +81,7 @@ export const ModalConfigValidator = {
return x as ModelType;
},
max_tokens(x: number) {
return limitNumber(x, 0, 32000, 2000);
return limitNumber(x, 0, 100000, 2000);
},
presence_penalty(x: number) {
return limitNumber(x, -2, 2, 0);