Switch to gpt4 o-mini

This commit is contained in:
Thomas Ricouard 2024-08-13 12:41:46 +02:00
parent 6c9d9161dc
commit 6f608efa7f

View File

@ -25,7 +25,7 @@ public struct OpenAIClient {
public let content: String public let content: String
} }
let model = "gpt-4o" let model = "gpt-4o-mini"
let messages: [Message] let messages: [Message]
let temperature: CGFloat let temperature: CGFloat
@ -52,7 +52,7 @@ public struct OpenAIClient {
public let content: [MessageContent] public let content: [MessageContent]
} }
let model = "gpt-4o" let model = "gpt-4o-mini"
let messages: [Message] let messages: [Message]
let maxTokens = 50 let maxTokens = 50
} }