diff --git a/gradle.properties b/gradle.properties index 82db46b2..eb42f1d5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ pluginName=intellij-aicoder pluginRepositoryUrl=https://github.com/SimiaCryptus/intellij-aicoder -pluginVersion=1.6.1 +pluginVersion=1.6.2 jvmArgs=-Xmx8g org.gradle.jvmargs=-Xmx8g diff --git a/src/main/kotlin/com/github/simiacryptus/aicoder/actions/generic/ReactTypescriptWebDevelopmentAssistantAction.kt b/src/main/kotlin/com/github/simiacryptus/aicoder/actions/generic/ReactTypescriptWebDevelopmentAssistantAction.kt index 9da48932..029b2c26 100644 --- a/src/main/kotlin/com/github/simiacryptus/aicoder/actions/generic/ReactTypescriptWebDevelopmentAssistantAction.kt +++ b/src/main/kotlin/com/github/simiacryptus/aicoder/actions/generic/ReactTypescriptWebDevelopmentAssistantAction.kt @@ -114,7 +114,7 @@ class ReactTypescriptWebDevelopmentAssistantAction : BaseAction() { val budget: Double? = 2.00, val tools: List = emptyList(), val model: ChatModels = ChatModels.GPT4o, - val parsingModel: ChatModels = ChatModels.GPT35Turbo, + val parsingModel: ChatModels = ChatModels.GPT4oMini, ) override val settingsClass: Class<*> get() = Settings::class.java diff --git a/src/main/kotlin/com/github/simiacryptus/aicoder/actions/generic/WebDevelopmentAssistantAction.kt b/src/main/kotlin/com/github/simiacryptus/aicoder/actions/generic/WebDevelopmentAssistantAction.kt index b71347a4..7ec75cd0 100644 --- a/src/main/kotlin/com/github/simiacryptus/aicoder/actions/generic/WebDevelopmentAssistantAction.kt +++ b/src/main/kotlin/com/github/simiacryptus/aicoder/actions/generic/WebDevelopmentAssistantAction.kt @@ -114,7 +114,7 @@ class WebDevelopmentAssistantAction : BaseAction() { val budget: Double? = 2.00, val tools: List = emptyList(), val model: ChatModels = ChatModels.GPT4o, - val parsingModel: ChatModels = ChatModels.GPT35Turbo, + val parsingModel: ChatModels = ChatModels.GPT4oMini, ) override val settingsClass: Class<*> get() = Settings::class.java diff --git a/src/main/kotlin/com/github/simiacryptus/aicoder/config/AppSettingsState.kt b/src/main/kotlin/com/github/simiacryptus/aicoder/config/AppSettingsState.kt index 8d2754cf..d2f272a5 100644 --- a/src/main/kotlin/com/github/simiacryptus/aicoder/config/AppSettingsState.kt +++ b/src/main/kotlin/com/github/simiacryptus/aicoder/config/AppSettingsState.kt @@ -15,8 +15,8 @@ import java.util.* @State(name = "org.intellij.sdk.settings.AppSettingsState", storages = [Storage("SdkSettingsPlugin.xml")]) data class AppSettingsState( var temperature: Double = 0.1, - var smartModel: String = ChatModels.GPT35Turbo.modelName, - var fastModel: String = ChatModels.GPT35Turbo.modelName, + var smartModel: String = ChatModels.GPT4o.modelName, + var fastModel: String = ChatModels.GPT4oMini.modelName, var mainImageModel: String = ImageModels.DallE3.modelName, var listeningPort: Int = 8081, var listeningEndpoint: String = "localhost", @@ -153,7 +153,7 @@ data class AppSettingsState( fun String.chatModel(): ChatModels { return ChatModels.values().entries.firstOrNull { it.value.modelName == this || it.key == this - }?.value ?: ChatModels.GPT35Turbo + }?.value ?: ChatModels.GPT4oMini } fun String.imageModel(): ImageModels { diff --git a/src/test/kotlin/com/github/simiacryptus/aicoder/actions/ActionTestBase.kt b/src/test/kotlin/com/github/simiacryptus/aicoder/actions/ActionTestBase.kt index 372d7df2..c67bb7a0 100644 --- a/src/test/kotlin/com/github/simiacryptus/aicoder/actions/ActionTestBase.kt +++ b/src/test/kotlin/com/github/simiacryptus/aicoder/actions/ActionTestBase.kt @@ -16,7 +16,7 @@ open class ActionTestBase { fun testScript_SelectionAction(selectionAction: SelectionAction, scriptPath: String) { AppSettingsState.instance.apiKey = ClientUtil.keyMap.mapKeys { it.key }.toMutableMap() AppSettingsState.instance.temperature = 0.0 - AppSettingsState.instance.smartModel = ChatModels.GPT35Turbo.name + AppSettingsState.instance.smartModel = ChatModels.GPT4oMini.name val input = selectionAction.javaClass.getResourceAsStream(scriptPath)?.readAllBytes()?.toString(Charsets.UTF_8) ?: "" @@ -64,7 +64,7 @@ open class ActionTestBase { ) { AppSettingsState.instance.apiKey = ClientUtil.keyMap.mapKeys { it.key }.toMutableMap() AppSettingsState.instance.temperature = 0.0 - AppSettingsState.instance.smartModel = ChatModels.GPT35Turbo.name + AppSettingsState.instance.smartModel = ChatModels.GPT4oMini.name val input = selectionAction.javaClass.getResourceAsStream(scriptPath)?.readAllBytes()?.toString(Charsets.UTF_8) ?: ""