diff --git a/maestro-ai/src/main/java/maestro/ai/DemoApp.kt b/maestro-ai/src/main/java/maestro/ai/DemoApp.kt index a57fd8dffb..f9b8e599c7 100644 --- a/maestro-ai/src/main/java/maestro/ai/DemoApp.kt +++ b/maestro-ai/src/main/java/maestro/ai/DemoApp.kt @@ -52,7 +52,7 @@ fun main(args: Array) = DemoApp().main(args) class DemoApp : CliktCommand() { private val inputFiles: List by argument(help = "screenshots to use").path(mustExist = true).multiple() - private val model: String by option(help = "LLM to use").default("gpt-4o-2024-08-06") + private val model: String by option(help = "LLM to use").default("gpt-4o") private val showOnlyFails: Boolean by option(help = "Show only failed tests").flag() diff --git a/maestro-ai/src/main/java/maestro/ai/openai/Client.kt b/maestro-ai/src/main/java/maestro/ai/openai/Client.kt index 4484c64fb1..013d3d234d 100644 --- a/maestro-ai/src/main/java/maestro/ai/openai/Client.kt +++ b/maestro-ai/src/main/java/maestro/ai/openai/Client.kt @@ -22,7 +22,7 @@ private const val API_URL = "https://api.openai.com/v1/chat/completions" private val logger = LoggerFactory.getLogger(OpenAI::class.java) class OpenAI( - defaultModel: String = "gpt-4o-2024-08-06", + defaultModel: String = "gpt-4o", httpClient: HttpClient = defaultHttpClient, private val apiKey: String, private val defaultTemperature: Float = 0.2f,