@@ -1657,17 +1657,7 @@ async function generateModels() {
|
||||
}
|
||||
}
|
||||
|
||||
const minimaxDirectSupportedIds = new Set(["MiniMax-M2.7", "MiniMax-M2.7-highspeed"]);
|
||||
|
||||
for (const candidate of allModels) {
|
||||
if (
|
||||
(candidate.provider === "minimax" || candidate.provider === "minimax-cn") &&
|
||||
minimaxDirectSupportedIds.has(candidate.id)
|
||||
) {
|
||||
candidate.contextWindow = 204800;
|
||||
candidate.maxTokens = 131072;
|
||||
}
|
||||
}
|
||||
const minimaxDirectSupportedIds = new Set(["MiniMax-M2.7", "MiniMax-M2.7-highspeed", "MiniMax-M3"]);
|
||||
|
||||
for (let i = allModels.length - 1; i >= 0; i--) {
|
||||
const candidate = allModels[i];
|
||||
|
||||
Reference in New Issue
Block a user