mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-13 23:53:02 +00:00
Add GPT-4 model, disable reverse proxy selection
This commit is contained in:
parent
d236f2ca27
commit
a4c3dcd5c6
2 changed files with 5 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue