moon blinded me

This commit is contained in:
reanon
2025-07-15 00:08:04 +02:00
parent 867fda430b
commit e1bd960bb7
@@ -143,12 +143,6 @@ export const validateContextSize: RequestPreprocessor = async (req) => {
modelMax = 128000;
} else if (model.match(/^magistral/)) {
modelMax = 40000;
} else if (model.match(/^magistral/)) {
modelMax = 40000;
} else if (model.match(/^moonshot/)) {
modelMax = 200000;
} else if (model.match(/^kimi-k2/)) {
modelMax = 131000;
} else if (model.match(/tral/)) {
// catches mistral, mixtral, codestral, mathstral, etc. mistral models have
// no name convention and wildly different context windows so this is a