Skip to content
Snippets Groups Projects
Commit 8001f694 authored by timothycarambat's avatar timothycarambat
Browse files

Merge branch 'master' of github.com:Mintplex-Labs/anything-llm

parents dc239612 ceadc8d4
No related branches found
No related tags found
No related merge requests found
......@@ -293,7 +293,7 @@ function validAzureURL(input = "") {
function validOpenAiTokenLimit(input = "") {
const tokenLimit = Number(input);
if (isNaN(tokenLimit)) return "Token limit is not a number";
if (![4_096, 16_384, 8_192, 32_768].includes(tokenLimit))
if (![4_096, 16_384, 8_192, 32_768, 128_000].includes(tokenLimit))
return "Invalid OpenAI token limit.";
return null;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment