Compare commits

...

2 Commits

Author SHA1 Message Date
RiverRay
1e20b64048 Merge pull request #6121 from ChatGPTNextWeb/feat/support-openai-o3-mini
Some checks failed
Run Tests / test (push) Has been cancelled
feat(model): add support for OpenAI o3-mini model
2025-02-02 20:57:21 +08:00
Kadxy
4f28fca506 feat: Support OpenAI o3-mini 2025-02-01 15:02:06 +08:00

View File

@@ -450,6 +450,8 @@ export const VISION_MODEL_REGEXES = [
export const EXCLUDE_VISION_MODEL_REGEXES = [/claude-3-5-haiku-20241022/];
const openaiModels = [
// As of July 2024, gpt-4o-mini should be used in place of gpt-3.5-turbo,
// as it is cheaper, more capable, multimodal, and just as fast. gpt-3.5-turbo is still available for use in the API.
"gpt-3.5-turbo",
"gpt-3.5-turbo-1106",
"gpt-3.5-turbo-0125",
@@ -472,6 +474,7 @@ const openaiModels = [
"dall-e-3",
"o1-mini",
"o1-preview",
"o3-mini",
];
const googleModels = [