openai 0.93.0 → 0.95.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +32 -0
- data/README.md +1 -1
- data/lib/openai/models/admin/organization/audit_log_list_response.rb +5 -3
- data/lib/openai/models/admin/organization/external_storage_configuration.rb +5 -3
- data/lib/openai/models/admin/organization/external_storage_create_params.rb +39 -3
- data/lib/openai/models/admin/organization/gcp_external_storage_provider.rb +55 -0
- data/lib/openai/models/all_models.rb +1 -0
- data/lib/openai/models/beta/beta_response.rb +9 -0
- data/lib/openai/models/beta/beta_responses_client_event.rb +13 -0
- data/lib/openai/models/beta/environment_param.rb +3 -2
- data/lib/openai/models/beta/response_compact_params.rb +9 -0
- data/lib/openai/models/beta/response_create_params.rb +9 -0
- data/lib/openai/models/chat_model.rb +2 -0
- data/lib/openai/models/responses/response_compact_params.rb +9 -0
- data/lib/openai/models/responses_model.rb +1 -0
- data/lib/openai/models/video_create_error.rb +12 -1
- data/lib/openai/resources/admin/organization/external_storage.rb +1 -1
- data/lib/openai/version.rb +1 -1
- data/lib/openai.rb +1 -0
- data/rbi/openai/models/admin/organization/audit_log_list_response.rbi +6 -3
- data/rbi/openai/models/admin/organization/external_storage_configuration.rbi +4 -2
- data/rbi/openai/models/admin/organization/external_storage_create_params.rbi +76 -4
- data/rbi/openai/models/admin/organization/gcp_external_storage_provider.rbi +100 -0
- data/rbi/openai/models/all_models.rbi +1 -0
- data/rbi/openai/models/beta/beta_response.rbi +3 -0
- data/rbi/openai/models/beta/beta_responses_client_event.rbi +9 -0
- data/rbi/openai/models/beta/environment_param.rbi +2 -1
- data/rbi/openai/models/beta/response_compact_params.rbi +6 -0
- data/rbi/openai/models/beta/response_create_params.rbi +6 -0
- data/rbi/openai/models/chat_model.rbi +2 -0
- data/rbi/openai/models/responses/response_compact_params.rbi +6 -0
- data/rbi/openai/models/responses_model.rbi +4 -0
- data/rbi/openai/models/video_create_error.rbi +20 -1
- data/rbi/openai/resources/admin/organization/external_storage.rbi +2 -1
- data/sig/openai/models/admin/organization/audit_log_list_response.rbs +1 -0
- data/sig/openai/models/admin/organization/external_storage_configuration.rbs +1 -0
- data/sig/openai/models/admin/organization/external_storage_create_params.rbs +38 -0
- data/sig/openai/models/admin/organization/gcp_external_storage_provider.rbs +54 -0
- data/sig/openai/models/all_models.rbs +2 -0
- data/sig/openai/models/beta/beta_response.rbs +6 -0
- data/sig/openai/models/beta/beta_responses_client_event.rbs +6 -0
- data/sig/openai/models/beta/response_compact_params.rbs +6 -0
- data/sig/openai/models/beta/response_create_params.rbs +6 -0
- data/sig/openai/models/chat_model.rbs +4 -0
- data/sig/openai/models/responses/response_compact_params.rbs +6 -0
- data/sig/openai/models/responses_model.rbs +2 -0
- data/sig/openai/models/video_create_error.rbs +14 -0
- metadata +4 -1
|
@@ -703,6 +703,8 @@ module OpenAI
|
|
|
703
703
|
|
|
704
704
|
type model =
|
|
705
705
|
:"gpt-6-astra"
|
|
706
|
+
| :"gpt-6-sol"
|
|
707
|
+
| :"gpt-6-luna"
|
|
706
708
|
| :"gpt-5.6-sol"
|
|
707
709
|
| :"gpt-5.6-terra"
|
|
708
710
|
| :"gpt-5.6-luna"
|
|
@@ -807,6 +809,7 @@ module OpenAI
|
|
|
807
809
|
| :"gpt-daybreak-blue-latest"
|
|
808
810
|
| :"gpt-daybreak-red-latest"
|
|
809
811
|
| :"gpt-5.6-cyber"
|
|
812
|
+
| :"gpt-rosalind-research"
|
|
810
813
|
| String
|
|
811
814
|
|
|
812
815
|
module Model
|
|
@@ -815,6 +818,8 @@ module OpenAI
|
|
|
815
818
|
def self?.variants: -> ::Array[OpenAI::Models::Beta::ResponseCreateParams::model]
|
|
816
819
|
|
|
817
820
|
GPT_6_ASTRA: :"gpt-6-astra"
|
|
821
|
+
GPT_6_SOL: :"gpt-6-sol"
|
|
822
|
+
GPT_6_LUNA: :"gpt-6-luna"
|
|
818
823
|
GPT_5_6_SOL: :"gpt-5.6-sol"
|
|
819
824
|
GPT_5_6_TERRA: :"gpt-5.6-terra"
|
|
820
825
|
GPT_5_6_LUNA: :"gpt-5.6-luna"
|
|
@@ -919,6 +924,7 @@ module OpenAI
|
|
|
919
924
|
GPT_DAYBREAK_BLUE_LATEST: :"gpt-daybreak-blue-latest"
|
|
920
925
|
GPT_DAYBREAK_RED_LATEST: :"gpt-daybreak-red-latest"
|
|
921
926
|
GPT_5_6_CYBER: :"gpt-5.6-cyber"
|
|
927
|
+
GPT_ROSALIND_RESEARCH: :"gpt-rosalind-research"
|
|
922
928
|
end
|
|
923
929
|
|
|
924
930
|
type moderation =
|
|
@@ -2,6 +2,8 @@ module OpenAI
|
|
|
2
2
|
module Models
|
|
3
3
|
type chat_model =
|
|
4
4
|
:"gpt-6-astra"
|
|
5
|
+
| :"gpt-6-sol"
|
|
6
|
+
| :"gpt-6-luna"
|
|
5
7
|
| :"gpt-5.6-sol"
|
|
6
8
|
| :"gpt-5.6-terra"
|
|
7
9
|
| :"gpt-5.6-luna"
|
|
@@ -92,6 +94,8 @@ module OpenAI
|
|
|
92
94
|
extend OpenAI::Internal::Type::Enum
|
|
93
95
|
|
|
94
96
|
GPT_6_ASTRA: :"gpt-6-astra"
|
|
97
|
+
GPT_6_SOL: :"gpt-6-sol"
|
|
98
|
+
GPT_6_LUNA: :"gpt-6-luna"
|
|
95
99
|
GPT_5_6_SOL: :"gpt-5.6-sol"
|
|
96
100
|
GPT_5_6_TERRA: :"gpt-5.6-terra"
|
|
97
101
|
GPT_5_6_LUNA: :"gpt-5.6-luna"
|
|
@@ -150,6 +150,8 @@ module OpenAI
|
|
|
150
150
|
|
|
151
151
|
type model =
|
|
152
152
|
:"gpt-6-astra"
|
|
153
|
+
| :"gpt-6-sol"
|
|
154
|
+
| :"gpt-6-luna"
|
|
153
155
|
| :"gpt-5.6-sol"
|
|
154
156
|
| :"gpt-5.6-terra"
|
|
155
157
|
| :"gpt-5.6-luna"
|
|
@@ -254,6 +256,7 @@ module OpenAI
|
|
|
254
256
|
| :"gpt-daybreak-blue-latest"
|
|
255
257
|
| :"gpt-daybreak-red-latest"
|
|
256
258
|
| :"gpt-5.6-cyber"
|
|
259
|
+
| :"gpt-rosalind-research"
|
|
257
260
|
| String
|
|
258
261
|
|
|
259
262
|
module Model
|
|
@@ -262,6 +265,8 @@ module OpenAI
|
|
|
262
265
|
def self?.variants: -> ::Array[OpenAI::Models::Responses::ResponseCompactParams::model]
|
|
263
266
|
|
|
264
267
|
GPT_6_ASTRA: :"gpt-6-astra"
|
|
268
|
+
GPT_6_SOL: :"gpt-6-sol"
|
|
269
|
+
GPT_6_LUNA: :"gpt-6-luna"
|
|
265
270
|
GPT_5_6_SOL: :"gpt-5.6-sol"
|
|
266
271
|
GPT_5_6_TERRA: :"gpt-5.6-terra"
|
|
267
272
|
GPT_5_6_LUNA: :"gpt-5.6-luna"
|
|
@@ -366,6 +371,7 @@ module OpenAI
|
|
|
366
371
|
GPT_DAYBREAK_BLUE_LATEST: :"gpt-daybreak-blue-latest"
|
|
367
372
|
GPT_DAYBREAK_RED_LATEST: :"gpt-daybreak-red-latest"
|
|
368
373
|
GPT_5_6_CYBER: :"gpt-5.6-cyber"
|
|
374
|
+
GPT_ROSALIND_RESEARCH: :"gpt-rosalind-research"
|
|
369
375
|
end
|
|
370
376
|
|
|
371
377
|
type input =
|
|
@@ -28,6 +28,7 @@ module OpenAI
|
|
|
28
28
|
| :"gpt-daybreak-blue-latest"
|
|
29
29
|
| :"gpt-daybreak-red-latest"
|
|
30
30
|
| :"gpt-5.6-cyber"
|
|
31
|
+
| :"gpt-rosalind-research"
|
|
31
32
|
|
|
32
33
|
module ResponsesOnlyModel
|
|
33
34
|
extend OpenAI::Internal::Type::Enum
|
|
@@ -51,6 +52,7 @@ module OpenAI
|
|
|
51
52
|
GPT_DAYBREAK_BLUE_LATEST: :"gpt-daybreak-blue-latest"
|
|
52
53
|
GPT_DAYBREAK_RED_LATEST: :"gpt-daybreak-red-latest"
|
|
53
54
|
GPT_5_6_CYBER: :"gpt-5.6-cyber"
|
|
55
|
+
GPT_ROSALIND_RESEARCH: :"gpt-rosalind-research"
|
|
54
56
|
|
|
55
57
|
def self?.values: -> ::Array[OpenAI::Models::ResponsesModel::responses_only_model]
|
|
56
58
|
end
|
|
@@ -4,6 +4,7 @@ module OpenAI
|
|
|
4
4
|
{
|
|
5
5
|
code: String,
|
|
6
6
|
message: String,
|
|
7
|
+
?headers: ::Hash[Symbol, String],
|
|
7
8
|
?misalignment: OpenAI::VideoCreateError::Misalignment
|
|
8
9
|
}
|
|
9
10
|
|
|
@@ -14,6 +15,14 @@ module OpenAI
|
|
|
14
15
|
# A human-readable description of the error that was returned.
|
|
15
16
|
attr_accessor message: String
|
|
16
17
|
|
|
18
|
+
# The Retry-After and Retry-After-Ms headers returned with the original error, if
|
|
19
|
+
# any.
|
|
20
|
+
attr_reader headers: ::Hash[Symbol, String]?
|
|
21
|
+
|
|
22
|
+
# The Retry-After and Retry-After-Ms headers returned with the original error, if
|
|
23
|
+
# any.
|
|
24
|
+
def headers=: (::Hash[Symbol, String]) -> ::Hash[Symbol, String]
|
|
25
|
+
|
|
17
26
|
attr_reader misalignment: OpenAI::VideoCreateError::Misalignment?
|
|
18
27
|
|
|
19
28
|
def misalignment=: (
|
|
@@ -24,15 +33,20 @@ module OpenAI
|
|
|
24
33
|
# A machine-readable error code that was returned.
|
|
25
34
|
# @param message
|
|
26
35
|
# A human-readable description of the error that was returned.
|
|
36
|
+
# @param headers
|
|
37
|
+
# The Retry-After and Retry-After-Ms headers returned with the original error, if
|
|
38
|
+
# any.
|
|
27
39
|
def initialize: (
|
|
28
40
|
code: String,
|
|
29
41
|
message: String,
|
|
42
|
+
?headers: ::Hash[Symbol, String],
|
|
30
43
|
?misalignment: OpenAI::VideoCreateError::Misalignment
|
|
31
44
|
) -> void
|
|
32
45
|
|
|
33
46
|
def to_hash: -> {
|
|
34
47
|
code: String,
|
|
35
48
|
message: String,
|
|
49
|
+
?headers: ::Hash[Symbol, String],
|
|
36
50
|
?misalignment: OpenAI::VideoCreateError::Misalignment
|
|
37
51
|
}
|
|
38
52
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openai
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.95.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAI
|
|
@@ -209,6 +209,7 @@ files:
|
|
|
209
209
|
- lib/openai/models/admin/organization/external_storage_list_params.rb
|
|
210
210
|
- lib/openai/models/admin/organization/external_storage_retrieve_params.rb
|
|
211
211
|
- lib/openai/models/admin/organization/external_storage_validate_params.rb
|
|
212
|
+
- lib/openai/models/admin/organization/gcp_external_storage_provider.rb
|
|
212
213
|
- lib/openai/models/admin/organization/group.rb
|
|
213
214
|
- lib/openai/models/admin/organization/group_create_params.rb
|
|
214
215
|
- lib/openai/models/admin/organization/group_delete_params.rb
|
|
@@ -1789,6 +1790,7 @@ files:
|
|
|
1789
1790
|
- rbi/openai/models/admin/organization/external_storage_list_params.rbi
|
|
1790
1791
|
- rbi/openai/models/admin/organization/external_storage_retrieve_params.rbi
|
|
1791
1792
|
- rbi/openai/models/admin/organization/external_storage_validate_params.rbi
|
|
1793
|
+
- rbi/openai/models/admin/organization/gcp_external_storage_provider.rbi
|
|
1792
1794
|
- rbi/openai/models/admin/organization/group.rbi
|
|
1793
1795
|
- rbi/openai/models/admin/organization/group_create_params.rbi
|
|
1794
1796
|
- rbi/openai/models/admin/organization/group_delete_params.rbi
|
|
@@ -3358,6 +3360,7 @@ files:
|
|
|
3358
3360
|
- sig/openai/models/admin/organization/external_storage_list_params.rbs
|
|
3359
3361
|
- sig/openai/models/admin/organization/external_storage_retrieve_params.rbs
|
|
3360
3362
|
- sig/openai/models/admin/organization/external_storage_validate_params.rbs
|
|
3363
|
+
- sig/openai/models/admin/organization/gcp_external_storage_provider.rbs
|
|
3361
3364
|
- sig/openai/models/admin/organization/group.rbs
|
|
3362
3365
|
- sig/openai/models/admin/organization/group_create_params.rbs
|
|
3363
3366
|
- sig/openai/models/admin/organization/group_delete_params.rbs
|