We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3eaca6b commit ae8d75fCopy full SHA for ae8d75f
Tool/Sources/Preferences/Types/GoogleGenerativeChatModel.swift
@@ -1,6 +1,8 @@
1
import Foundation
2
3
public enum GoogleGenerativeAIModel: String {
4
+ case gemini15Pro = "gemini-1.5-pro"
5
+ case gemini15Flash = "gemini-1.5-flash"
6
case geminiPro = "gemini-pro"
7
}
8
@@ -9,6 +11,10 @@ public extension GoogleGenerativeAIModel {
9
11
switch self {
10
12
case .geminiPro:
13
return 32768
14
+ case .gemini15Flash:
15
+ return 1_048_576
16
+ case .gemini15Pro:
17
+ return 2_097_152
18
19
20
0 commit comments