feat: 支持 OpenAI 新模型 o3 与 o4-mini,并适配新参数

This commit is contained in:
Jasper Hu
2025-04-18 20:36:07 +01:00
parent 11b37c15bd
commit 2d7229d2b8
2 changed files with 7 additions and 2 deletions

View File

@@ -478,6 +478,8 @@ export const VISION_MODEL_REGEXES = [
/^dall-e-3$/, // Matches exactly "dall-e-3"
/glm-4v/,
/vl/i,
/o3/,
/o4-mini/,
];
export const EXCLUDE_VISION_MODEL_REGEXES = [/claude-3-5-haiku-20241022/];
@@ -516,6 +518,8 @@ const openaiModels = [
"o1-mini",
"o1-preview",
"o3-mini",
"o3",
"o4-mini",
];
const googleModels = [