Skip to content

Commit

Permalink
Merge pull request #219 from xAstralMars/main
Browse files Browse the repository at this point in the history
chore: add gpt-4o-mini support
  • Loading branch information
Krivoblotsky authored Jul 18, 2024
2 parents fd13a41 + c784a3c commit 843e087
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 843e087

Please sign in to comment.