add switch api

This commit is contained in:
AceDataCloud committed 2023-04-19 02:48:49 +08:00
1 parent cf22897a6c
commit f047c9b62f
6 files changed
+166 -71

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
export const API_ID_CHATGPT = '1d58971c-e3cd-4713-a3ce-854a731adb14';
export const API_ID_CHATGPT4 = '1c4e8fa3-362b-4e0a-b0fd-9ff9fc173b77';
export const APIS = [
{
id: API_ID_CHATGPT,
name: 'ChatGPT-3.5'
},
{
id: API_ID_CHATGPT4,
name: 'ChatGPT-4'
}
];
export const DEFAULT_API = APIS[0];
+1
View File
@@ -2,3 +2,4 @@ export * from './errorCode';
export * from './env';
export * from './endpoint';
export * from './image';
export * from './api';