From 6cc3d872c73a360834ff7c782266dd3bc14e1f9a Mon Sep 17 00:00:00 2001 From: pz9k <5maofashi@gmail.com> Date: Mon, 22 Jul 2024 15:44:05 +0800 Subject: [PATCH] support gpt-4o-mini --- app/build.gradle | 4 ++-- app/src/main/java/com/chat/Chat.java | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 56e39f1..fdce847 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -18,13 +18,13 @@ android { } } namespace 'com.chat' - compileSdk 33 + compileSdk 34 defaultConfig { applicationId "com.chat" minSdk 27 targetSdk 33 versionCode 33 - versionName "2.4.4" + versionName "2.4.5" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } splits { diff --git a/app/src/main/java/com/chat/Chat.java b/app/src/main/java/com/chat/Chat.java index 199b938..8c967a2 100644 --- a/app/src/main/java/com/chat/Chat.java +++ b/app/src/main/java/com/chat/Chat.java @@ -430,7 +430,9 @@ void initConfigs(View view){ new ArrayList<>(Arrays.asList(20, 50, 100, 200, 500, 1000, 2000)), new ArrayList<>(Arrays.asList(0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0)), - new ArrayList<>(Arrays.asList("gpt-4o", "gpt-4-turbo", "gpt-4", + new ArrayList<>(Arrays.asList( + "gpt-4o-mini", "gpt-4o-mini-2024-07-18", + "gpt-4o", "gpt-4-turbo", "gpt-4", "gpt-3.5-turbo", "gpt-3.5-turbo-16k", "gpt-3.5-turbo-0613","gpt-3.5-turbo-16k-0613","gpt-3.5-turbo-0301", "text-davinci-003", "text-davinci-002")),