Skip to content

Commit 8b5f505

Browse files
committed
*增加Claude 3.5 sonnet模型
*修复Claude 3. sonnet模型
1 parent 42adad6 commit 8b5f505

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

TMessagesProj/src/main/java/org/telegram/messenger/UserConfig.java

+4
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,8 @@ public void initClaude() {
576576
true));
577577
aiModelList.put(903, new AiModelBean("Claude 3 sonnet", "claude-3-sonnet-20240229",
578578
true));
579+
aiModelList.put(904, new AiModelBean("Claude 3.5 sonnet", "claude-3-5-sonnet-20240620",
580+
true));
579581

580582
}
581583

@@ -740,6 +742,8 @@ public boolean isJudgeByModelClaude(int aiModel) {
740742

741743
if (aiModel == 901) return true;
742744
if (aiModel == 902) return true;
745+
if (aiModel == 903) return true;
746+
if (aiModel == 904) return true;
743747

744748
return false;
745749
}

gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1414
# org.gradle.parallel=true
1515
#Sat Mar 12 05:53:50 MSK 2016
16-
APP_VERSION_CODE=7
17-
APP_VERSION_NAME=1.0.7
16+
APP_VERSION_CODE=8
17+
APP_VERSION_NAME=1.0.8
1818
APP_PACKAGE=info.flyun.chatair
1919
RELEASE_KEY_PASSWORD=android
2020
RELEASE_KEY_ALIAS=androidkey

0 commit comments

Comments
 (0)