Skip to content

Commit

Permalink
removing gpt depracated versions
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeduartea committed Oct 3, 2024
1 parent 7efc075 commit f9c7db8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion maestro-ai/src/main/java/maestro/ai/DemoApp.kt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ fun main(args: Array<String>) = DemoApp().main(args)
class DemoApp : CliktCommand() {
private val inputFiles: List<Path> 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()

Expand Down
2 changes: 1 addition & 1 deletion maestro-ai/src/main/java/maestro/ai/openai/Client.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f9c7db8

Please sign in to comment.