Skip to content

Commit 05f975a

Browse files
feat(api): add new gpt-4o-mini models (#942)
1 parent 4d0f969 commit 05f975a

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 64
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-27d8d6da893c1cdd53b491ec05153df22b1e113965f253a1d6eb8d75b628173f.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-518ca6c60061d3e8bc0971facf40d752f2aea62e3522cc168ad29a1f29cab3dd.yml

src/resources/beta/assistants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,6 +1057,8 @@ export interface AssistantCreateParams {
10571057
| (string & {})
10581058
| 'gpt-4o'
10591059
| 'gpt-4o-2024-05-13'
1060+
| 'gpt-4o-mini'
1061+
| 'gpt-4o-mini-2024-07-18'
10601062
| 'gpt-4-turbo'
10611063
| 'gpt-4-turbo-2024-04-09'
10621064
| 'gpt-4-0125-preview'

src/resources/beta/threads/runs/runs.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,8 @@ export interface RunCreateParamsBase {
546546
| (string & {})
547547
| 'gpt-4o'
548548
| 'gpt-4o-2024-05-13'
549+
| 'gpt-4o-mini'
550+
| 'gpt-4o-mini-2024-07-18'
549551
| 'gpt-4-turbo'
550552
| 'gpt-4-turbo-2024-04-09'
551553
| 'gpt-4-0125-preview'

src/resources/beta/threads/threads.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,8 @@ export interface ThreadCreateAndRunParamsBase {
525525
| (string & {})
526526
| 'gpt-4o'
527527
| 'gpt-4o-2024-05-13'
528+
| 'gpt-4o-mini'
529+
| 'gpt-4o-mini-2024-07-18'
528530
| 'gpt-4-turbo'
529531
| 'gpt-4-turbo-2024-04-09'
530532
| 'gpt-4-0125-preview'

src/resources/chat/chat.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ export class Chat extends APIResource {
1111
export type ChatModel =
1212
| 'gpt-4o'
1313
| 'gpt-4o-2024-05-13'
14+
| 'gpt-4o-mini'
15+
| 'gpt-4o-mini-2024-07-18'
1416
| 'gpt-4-turbo'
1517
| 'gpt-4-turbo-2024-04-09'
1618
| 'gpt-4-0125-preview'

0 commit comments

Comments
 (0)