Skip to content

Commit a56fdb8

Browse files
feat(api): add new gpt-4o-mini models (#942)
1 parent 85b6510 commit a56fdb8

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

.stats.yml

+1-1
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

+2
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

+2
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,8 @@ export interface RunCreateParamsBase {
672672
| (string & {})
673673
| 'gpt-4o'
674674
| 'gpt-4o-2024-05-13'
675+
| 'gpt-4o-mini'
676+
| 'gpt-4o-mini-2024-07-18'
675677
| 'gpt-4-turbo'
676678
| 'gpt-4-turbo-2024-04-09'
677679
| 'gpt-4-0125-preview'

src/resources/beta/threads/threads.ts

+2
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,8 @@ export interface ThreadCreateAndRunParamsBase {
549549
| (string & {})
550550
| 'gpt-4o'
551551
| 'gpt-4o-2024-05-13'
552+
| 'gpt-4o-mini'
553+
| 'gpt-4o-mini-2024-07-18'
552554
| 'gpt-4-turbo'
553555
| 'gpt-4-turbo-2024-04-09'
554556
| 'gpt-4-0125-preview'

src/resources/chat/chat.ts

+2
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)