mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-22 03:30:04 +00:00
1.5.1 - Revert model renaming
This commit is contained in:
parent
4775e97024
commit
95673a838b
5 changed files with 7 additions and 6 deletions
|
|
@ -6,8 +6,8 @@ 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_3_5("gpt-3.5-turbo", "ChatGPT - Most recent and capable model (Default)"),
|
||||
CHATGPT_3_5_SNAPSHOT("gpt-3.5-turbo-0301", "ChatGPT - Snapshot of gpt-3.5-turbo from March 1st 2023"),
|
||||
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"),
|
||||
UNOFFICIAL_CHATGPT("text-davinci-002-render-sha", "Unofficial ChatGPT");
|
||||
|
||||
private final String code;
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@ public class SettingsComponent {
|
|||
apiKeyField = new JBTextField(settings.apiKey, 1);
|
||||
chatCompletionBaseModelComboBox = new BaseModelComboBox(
|
||||
new BaseModel[] {
|
||||
BaseModel.CHATGPT_3_5,
|
||||
BaseModel.CHATGPT_3_5_SNAPSHOT,
|
||||
BaseModel.CHATGPT,
|
||||
BaseModel.CHATGPT_SNAPSHOT,
|
||||
},
|
||||
settings.textCompletionBaseModel);
|
||||
textCompletionBaseModelComboBox = new BaseModelComboBox(
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ public class SettingsState implements PersistentStateComponent<SettingsState> {
|
|||
public String accessToken = "";
|
||||
public String reverseProxyUrl = "";
|
||||
public BaseModel textCompletionBaseModel = BaseModel.DAVINCI;
|
||||
public BaseModel chatCompletionBaseModel = BaseModel.CHATGPT_3_5;
|
||||
public BaseModel chatCompletionBaseModel = BaseModel.CHATGPT;
|
||||
public boolean isGPTOptionSelected = true;
|
||||
public boolean isChatGPTOptionSelected;
|
||||
public boolean isChatCompletionOptionSelected = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue