diff --git a/src/main/java/ee/carlrobert/codegpt/client/BaseModel.java b/src/main/java/ee/carlrobert/codegpt/client/BaseModel.java index 1c0cb482..5720bc71 100644 --- a/src/main/java/ee/carlrobert/codegpt/client/BaseModel.java +++ b/src/main/java/ee/carlrobert/codegpt/client/BaseModel.java @@ -6,8 +6,9 @@ public enum BaseModel { BABBAGE("text-babbage-001", "Babbage - Powerful"), CURIE("text-curie-001", "Curie - Fast and efficient"), DAVINCI("text-davinci-003", "Davinci - Most powerful (Default)"), - CHATGPT("gpt-3.5-turbo", "ChatGPT - Most recent and capable model (Default)"), - CHATGPT_SNAPSHOT("gpt-3.5-turbo-0301", "ChatGPT - Snapshot of gpt-3.5-turbo from March 1st 2023"), + CHATGPT("gpt-3.5-turbo", "ChatGPT(3.5) - Most capable model (Default)"), + CHATGPT_SNAPSHOT("gpt-3.5-turbo-0301", "ChatGPT(3.5) - Snapshot of gpt-3.5-turbo from March 1st 2023"), + CHATGPT_4("gpt-4", "ChatGPT(4.0) - Most recent model (Requires access which is behind the waitlist approval process)"), UNOFFICIAL_CHATGPT("text-davinci-002-render-sha", "Unofficial ChatGPT"); private final String code; diff --git a/src/main/java/ee/carlrobert/codegpt/ide/settings/SettingsComponent.java b/src/main/java/ee/carlrobert/codegpt/ide/settings/SettingsComponent.java index 3fd71861..2becc7de 100644 --- a/src/main/java/ee/carlrobert/codegpt/ide/settings/SettingsComponent.java +++ b/src/main/java/ee/carlrobert/codegpt/ide/settings/SettingsComponent.java @@ -38,6 +38,7 @@ public class SettingsComponent { new BaseModel[] { BaseModel.CHATGPT, BaseModel.CHATGPT_SNAPSHOT, + BaseModel.CHATGPT_4 }, settings.textCompletionBaseModel); textCompletionBaseModelComboBox = new BaseModelComboBox( @@ -57,6 +58,7 @@ public class SettingsComponent { useChatCompletionRadioButton = new JBRadioButton("Use chat completion", settings.isChatCompletionOptionSelected); useTextCompletionRadioButton = new JBRadioButton("Use text completion", settings.isTextCompletionOptionSelected); useChatGPTRadioButton = new JBRadioButton("Use ChatGPT's unofficial API (unstable)", settings.isChatGPTOptionSelected); + useChatGPTRadioButton.setEnabled(false); mainPanel = FormBuilder.createFormBuilder() .addComponent(new TitledSeparator("Integration Preference")) .addVerticalGap(8)