From c77bb992b44a89b2bbee7f76258eedcaec260ec3 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Mon, 13 May 2024 22:20:43 +0200 Subject: [PATCH] Update OpenAI models to gpt-4o --- Packages/Network/Sources/Network/OpenAIClient.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Packages/Network/Sources/Network/OpenAIClient.swift b/Packages/Network/Sources/Network/OpenAIClient.swift index 6c3f5d4e..f3ceca6f 100644 --- a/Packages/Network/Sources/Network/OpenAIClient.swift +++ b/Packages/Network/Sources/Network/OpenAIClient.swift @@ -25,7 +25,7 @@ public struct OpenAIClient { public let content: String } - let model = "gpt-3.5-turbo" + let model = "gpt-4o" let messages: [Message] let temperature: CGFloat @@ -52,7 +52,7 @@ public struct OpenAIClient { public let content: [MessageContent] } - let model = "gpt-4-vision-preview" + let model = "gpt-4o" let messages: [Message] let maxTokens = 50 }