From 915319321b6c0d86273e0423e0be1398941326a5 Mon Sep 17 00:00:00 2001 From: brzhang Date: Tue, 12 Dec 2023 13:23:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=94=AF=E6=8C=81https://api.wgpt.in?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/setting.dart | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/lib/pages/setting.dart b/lib/pages/setting.dart index 1ae16bc..4bd0d2e 100644 --- a/lib/pages/setting.dart +++ b/lib/pages/setting.dart @@ -107,7 +107,7 @@ class SettingPage extends GetResponsiveView { ), filled: true, ), - items: ['OpenAI', 'You', 'IF'] + items: ['OpenAI'] .map>((String value) { return DropdownMenuItem( value: value, @@ -154,19 +154,6 @@ class SettingPage extends GetResponsiveView { const SizedBox( height: 20, ), - // controller.llm.value == "You" - // ? SwitchListTile( - // title: Text( - // "YouVip".tr, - // style: const TextStyle( - // fontSize: 12, fontWeight: FontWeight.bold), - // ), - // value: controller.youVip.value, - // onChanged: (value) { - // controller.setYouVip(value); - // }) - // : const SizedBox(), - // controller.llm.value == "You" ? const Divider() : const SizedBox(), controller.llm.value == "OpenAI" ? TextFormField( initialValue: controller.openAiKey.value, @@ -234,10 +221,9 @@ class SettingPage extends GetResponsiveView { filled: true, ), items: [ - 'https://ai.fakeopen.com', 'https://api.openai-proxy.com', 'https://api.openai.com', - 'https://bard.brzhang.club/api/chat' + 'https://api.wgpt.in' ].map>((String value) { return DropdownMenuItem( value: value, @@ -282,7 +268,6 @@ class SettingPage extends GetResponsiveView { 'gpt-3.5-turbo-16k', 'gpt-4', 'gpt-4-0314', - 'claude-instant-100k' ].map>((String value) { return DropdownMenuItem( value: value,