grok not xai

This commit is contained in:
reanon
2025-04-04 01:32:44 +00:00
parent a3869c2d67
commit ad13928383
@@ -104,7 +104,7 @@ export const validateContextSize: RequestPreprocessor = async (req) => {
modelMax = 100000;
} else if (model.match(/^deepseek/)) {
modelMax = 64000;
} else if (model.match(/^xai/)) {
} else if (model.match(/^grok/)) {
modelMax = 128000;
} else if (model.match(/tral/)) {
// catches mistral, mixtral, codestral, mathstral, etc. mistral models have