We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abd2521 commit 88ccdb3Copy full SHA for 88ccdb3
1 file changed
Core/Sources/Preferences/ChatGPTModel.swift
@@ -8,21 +8,11 @@ public enum ChatGPTModel: String {
8
9
public extension ChatGPTModel {
10
var endpoint: String {
11
- switch self {
12
- case .gpt35Turbo:
13
- return "https://api.openai.com/v1/chat/completions"
14
- case .gpt35Turbo0301:
15
16
- }
+ "https://api.openai.com/v1/chat/completions"
17
}
18
19
var maxToken: Int {
20
21
22
- return 2049
23
24
25
+ 2049
26
27
28
0 commit comments