add gpt-5.1-codex-max support

This commit is contained in:
1eon
2025-12-05 21:11:53 +08:00
parent 93284c80ff
commit aa3bb3c65b
7 changed files with 23 additions and 10 deletions

View File

@@ -58,7 +58,7 @@ export function getModelReasoning(modelId) {
return null;
}
const reasoningLevel = model.reasoning.toLowerCase();
if (['low', 'medium', 'high', 'auto'].includes(reasoningLevel)) {
if (['low', 'medium', 'high', 'xhigh', 'auto'].includes(reasoningLevel)) {
return reasoningLevel;
}
return null;