From c784a3c39122e99084601fdd30ec4768b6c06b1e Mon Sep 17 00:00:00 2001 From: xAstralMars Date: Thu, 18 Jul 2024 12:26:16 -0700 Subject: [PATCH] chore: add gpt-4o-mini support Added the gpt-4o-mini model to Models.swift --- Sources/OpenAI/Public/Models/Models/Models.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/OpenAI/Public/Models/Models/Models.swift b/Sources/OpenAI/Public/Models/Models/Models.swift index f773f3e8..6b46c1a4 100644 --- a/Sources/OpenAI/Public/Models/Models/Models.swift +++ b/Sources/OpenAI/Public/Models/Models/Models.swift @@ -15,6 +15,9 @@ public extension Model { /// `gpt-4o`, currently the most advanced, multimodal flagship model that's cheaper and faster than GPT-4 Turbo. static let gpt4_o = "gpt-4o" + /// `gpt-4o-mini`, currently the most affordable and intelligent model for fast and lightweight requests. + static let gpt4_o_mini = "gpt-4o-mini" + /// `gpt-4-turbo`, The latest GPT-4 Turbo model with vision capabilities. Vision requests can now use JSON mode and function calling and more. Context window: 128,000 tokens static let gpt4_turbo = "gpt-4-turbo"