Skip to content

Commit 61fcbe0

Browse files
removing gpt deprecated versions (#2075)
removing gpt depracated versions
1 parent 5cb09ff commit 61fcbe0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

maestro-ai/src/main/java/maestro/ai/DemoApp.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ fun main(args: Array<String>) = DemoApp().main(args)
5252
class DemoApp : CliktCommand() {
5353
private val inputFiles: List<Path> by argument(help = "screenshots to use").path(mustExist = true).multiple()
5454

55-
private val model: String by option(help = "LLM to use").default("gpt-4o-2024-08-06")
55+
private val model: String by option(help = "LLM to use").default("gpt-4o")
5656

5757
private val showOnlyFails: Boolean by option(help = "Show only failed tests").flag()
5858

maestro-ai/src/main/java/maestro/ai/openai/Client.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ private const val API_URL = "https://api.openai.com/v1/chat/completions"
2222
private val logger = LoggerFactory.getLogger(OpenAI::class.java)
2323

2424
class OpenAI(
25-
defaultModel: String = "gpt-4o-2024-08-06",
25+
defaultModel: String = "gpt-4o",
2626
httpClient: HttpClient = defaultHttpClient,
2727
private val apiKey: String,
2828
private val defaultTemperature: Float = 0.2f,

0 commit comments

Comments
 (0)