File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed
Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' token.js ' : patch
3+ ---
4+
5+ Add gpt-4o mini
Original file line number Diff line number Diff line change 4141| Model | Chat Completion | Streaming | JSON Output | Image Input | Function Calling | N > 1 |
4242| ---------------------- | --------------- | --------- | ----------- | ----------- | ---------------- | ----- |
4343| gpt-4o | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
44+ | gpt-4o-mini | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
4445| gpt-4o-2024-05-13 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
4546| gpt-4-turbo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
4647| gpt-4-turbo-2024-04-09 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ export const models = {
1212 openai : {
1313 models : [
1414 'gpt-4o' ,
15+ 'gpt-4o-mini' ,
1516 'gpt-4o-2024-05-13' ,
1617 'gpt-4-turbo' ,
1718 'gpt-4-turbo-2024-04-09' ,
@@ -36,6 +37,7 @@ export const models = {
3637 supportsCompletion : true ,
3738 supportsStreaming : [
3839 'gpt-4o' ,
40+ 'gpt-4o-mini' ,
3941 'gpt-4o-2024-05-13' ,
4042 'gpt-4-turbo' ,
4143 'gpt-4-turbo-2024-04-09' ,
@@ -59,6 +61,7 @@ export const models = {
5961 ] as const ,
6062 supportsJSON : [
6163 'gpt-4o' ,
64+ 'gpt-4o-mini' ,
6265 'gpt-4o-2024-05-13' ,
6366 'gpt-4-turbo' ,
6467 'gpt-4-turbo-2024-04-09' ,
@@ -72,6 +75,7 @@ export const models = {
7275 ] as const ,
7376 supportsImages : [
7477 'gpt-4o' ,
78+ 'gpt-4o-mini' ,
7579 'gpt-4o-2024-05-13' ,
7680 'gpt-4-turbo' ,
7781 'gpt-4-turbo-2024-04-09' ,
@@ -82,6 +86,7 @@ export const models = {
8286 ] as const ,
8387 supportsToolCalls : [
8488 'gpt-4o' ,
89+ 'gpt-4o-mini' ,
8590 'gpt-4o-2024-05-13' ,
8691 'gpt-4-turbo' ,
8792 'gpt-4-turbo-2024-04-09' ,
You can’t perform that action at this time.
0 commit comments