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
This commit is contained in:
RiverRay 2025-02-02 20:57:21 +08:00 committed by GitHub
commit 1e20b64048
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -450,6 +450,8 @@ export const VISION_MODEL_REGEXES = [
export const EXCLUDE_VISION_MODEL_REGEXES = [/claude-3-5-haiku-20241022/]; export const EXCLUDE_VISION_MODEL_REGEXES = [/claude-3-5-haiku-20241022/];
const openaiModels = [ 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",
"gpt-3.5-turbo-1106", "gpt-3.5-turbo-1106",
"gpt-3.5-turbo-0125", "gpt-3.5-turbo-0125",
@ -472,6 +474,7 @@ const openaiModels = [
"dall-e-3", "dall-e-3",
"o1-mini", "o1-mini",
"o1-preview", "o1-preview",
"o3-mini",
]; ];
const googleModels = [ const googleModels = [