Skip to content

Commit 785d84f

Browse files
committed
Add model gpt-4o-mini to the list
1 parent c06556e commit 785d84f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Tool/Sources/Preferences/Types/ChatGPTModel.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ public enum ChatGPTModel: String {
44
case gpt35Turbo = "gpt-3.5-turbo"
55
case gpt35Turbo16k = "gpt-3.5-turbo-16k"
66
case gpt4o = "gpt-4o"
7+
case gpt4oMini = "gpt-4o-mini"
78
case gpt4 = "gpt-4"
89
case gpt432k = "gpt-4-32k"
910
case gpt4Turbo = "gpt-4-turbo"
@@ -63,6 +64,8 @@ public extension ChatGPTModel {
6364
return 128000
6465
case .gpt4o:
6566
return 128000
67+
case .gpt4oMini:
68+
return 128000
6669
}
6770
}
6871

0 commit comments

Comments
 (0)