Skip to content

Commit 9f083f4

Browse files
Merge pull request #855 from PeterDaveHello/add-gpt-4.1-family
2 parents 82a58a9 + cf176da commit 9f083f4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/config/index.mjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ export const chatgptApiModelKeys = [
5757
'chatgptApi4_128k_preview',
5858
'chatgptApi4_128k_1106_preview',
5959
'chatgptApi4_128k_0125_preview',
60+
'chatgptApi4_1',
61+
'chatgptApi4_1_mini',
62+
'chatgptApi4_1_nano',
6063
]
6164
export const customApiModelKeys = ['customModel']
6265
export const ollamaApiModelKeys = ['ollamaModel']
@@ -198,6 +201,10 @@ export const Models = {
198201
},
199202
chatgptApi4oLatest: { value: 'chatgpt-4o-latest', desc: 'ChatGPT (ChatGPT-4o latest)' },
200203

204+
chatgptApi4_1: { value: 'gpt-4.1', desc: 'ChatGPT (GPT-4.1)' },
205+
chatgptApi4_1_mini: { value: 'gpt-4.1-mini', desc: 'ChatGPT (GPT-4.1 mini)' },
206+
chatgptApi4_1_nano: { value: 'gpt-4.1-nano', desc: 'ChatGPT (GPT-4.1 nano)' },
207+
201208
claude2WebFree: { value: '', desc: 'Claude.ai (Web)' },
202209
claude12Api: { value: 'claude-instant-1.2', desc: 'Claude.ai (API, Claude Instant 1.2)' },
203210
claude2Api: { value: 'claude-2.0', desc: 'Claude.ai (API, Claude 2)' },

0 commit comments

Comments
 (0)