Skip to content

Commit

Permalink
chore: add gpt-4o-mini support
Browse files Browse the repository at this point in the history
Added the gpt-4o-mini model to Models.swift
  • Loading branch information
xAstralMars authored Jul 18, 2024
1 parent fd13a41 commit c784a3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/OpenAI/Public/Models/Models/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit c784a3c

Please sign in to comment.