Skip to content

Commit

Permalink
Add gpt-4o-mini for both web and api access (#749)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDaveHello authored Jul 19, 2024
1 parent b96ba7c commit 3cdc13f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/config/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const ModelMode = {
export const chatgptWebModelKeys = [
'chatgptFree35',
'chatgptFree4o',
'chatgptFree4oMini',
'chatgptPlus4',
'chatgptFree35Mobile',
'chatgptPlus4Browsing',
Expand All @@ -45,6 +46,7 @@ export const chatgptApiModelKeys = [
'chatgptApi35_1106',
'chatgptApi35_0125',
'chatgptApi4o_128k',
'chatgptApi4oMini',
'chatgptApi4_8k',
'chatgptApi4_8k_0613',
'chatgptApi4_32k',
Expand Down Expand Up @@ -96,6 +98,7 @@ export const Models = {
chatgptFree35: { value: 'text-davinci-002-render-sha', desc: 'ChatGPT (Web)' },

chatgptFree4o: { value: 'gpt-4o', desc: 'ChatGPT (Web, GPT-4o)' },
chatgptFree4oMini: { value: 'gpt-4o-mini', desc: 'ChatGPT (Web, GPT-4o mini)' },

chatgptPlus4: { value: 'gpt-4', desc: 'ChatGPT (Web, GPT-4 All in one)' },
chatgptPlus4Browsing: { value: 'gpt-4-gizmo', desc: 'ChatGPT (Web, GPT-4)' },
Expand All @@ -104,6 +107,7 @@ export const Models = {
chatgptApi35_16k: { value: 'gpt-3.5-turbo-16k', desc: 'ChatGPT (GPT-3.5-turbo-16k)' },

chatgptApi4o_128k: { value: 'gpt-4o', desc: 'ChatGPT (GPT-4o)' },
chatgptApi4oMini: { value: 'gpt-4o-mini', desc: 'ChatGPT (GPT-4o mini)' },
chatgptApi4_8k: { value: 'gpt-4', desc: 'ChatGPT (GPT-4-8k)' },
chatgptApi4_32k: { value: 'gpt-4-32k', desc: 'ChatGPT (GPT-4-32k)' },
chatgptApi4_128k: {
Expand Down Expand Up @@ -268,6 +272,7 @@ export const defaultConfig = {
activeApiModes: [
'chatgptFree35',
'chatgptFree4o',
'chatgptFree4oMini',
'chatgptPlus4',
'chatgptApi35',
'chatgptApi4o_128k',
Expand Down

0 comments on commit 3cdc13f

Please sign in to comment.