feat: enabled API Modes option (#264)

This commit is contained in:
josc146
2023-04-29 22:19:10 +08:00
parent 4ba1a8d124
commit ae28ca6f42
9 changed files with 66 additions and 5 deletions
+15
View File
@@ -118,6 +118,20 @@ export const defaultConfig = {
// others
alwaysCreateNewConversationWindow: false,
activeApiModes: [
'chatgptFree35',
'chatgptPlus4',
'chatgptApi35',
'bingFree4',
'bingFreeSydney',
'poeAiWebSage',
'poeAiWebGPT4',
'poeAiWebClaudePlus',
'chatgptApi4_8k',
'customModel',
'azureOpenAi',
'poeAiWebCustom',
],
activeSelectionTools: ['translate', 'summary', 'polish', 'code', 'ask'],
activeSiteAdapters: [
'bilibili',
@@ -139,6 +153,7 @@ export const defaultConfig = {
// unchangeable
userLanguage: getNavigatorLanguage(),
apiModes: Object.keys(Models),
selectionTools: [
'translate',
'translateToEn',