Skip to content

Commit

Permalink
*增加GPT-4o mini模型,修改为默认模型
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfuyun committed Jul 19, 2024
1 parent 8b5f505 commit 0d6b3b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public class UserConfig extends BaseController {

public LinkedHashMap<Integer, AiModelBean> aiModelList = new LinkedHashMap<>();
public final static String defaultPrompt = "You are a helpful AI assistant.";
public final static int defaultAiModel = 1;
public final static int defaultAiModel = 15;
public final static double defaultTemperature = 0.7;
public final static int defaultContextLimit = 30;
public final static int defaultTokenLimit = -100;
Expand Down Expand Up @@ -506,6 +506,7 @@ private void initAiModelList() {
} else {
aiModelList = new LinkedHashMap<>();
}
aiModelList.put(15, new AiModelBean("GPT-4o mini", "gpt-4o-mini", true));
aiModelList.put(1, new AiModelBean("GPT-3.5", "gpt-3.5-turbo", true));
aiModelList.put(2, new AiModelBean("GPT-3.5-0613", "gpt-3.5-turbo-0613", false));
aiModelList.put(3, new AiModelBean("GPT-3.5-16k", "gpt-3.5-turbo-16k", true));
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
#Sat Mar 12 05:53:50 MSK 2016
APP_VERSION_CODE=8
APP_VERSION_NAME=1.0.8
APP_VERSION_CODE=9
APP_VERSION_NAME=1.0.9
APP_PACKAGE=info.flyun.chatair
RELEASE_KEY_PASSWORD=android
RELEASE_KEY_ALIAS=androidkey
Expand Down

0 comments on commit 0d6b3b3

Please sign in to comment.