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
|
@@ -26,7 +26,8 @@ module OpenAI
|
|
|
26
26
|
returns(
|
|
27
27
|
T.any(
|
|
28
28
|
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Aws,
|
|
29
|
-
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Azure
|
|
29
|
+
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Azure,
|
|
30
|
+
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Gcp
|
|
30
31
|
)
|
|
31
32
|
)
|
|
32
33
|
}
|
|
@@ -39,7 +40,8 @@ module OpenAI
|
|
|
39
40
|
|
|
40
41
|
provider: T.any(
|
|
41
42
|
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Aws::OrHash,
|
|
42
|
-
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Azure::OrHash
|
|
43
|
+
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Azure::OrHash,
|
|
44
|
+
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Gcp::OrHash
|
|
43
45
|
),
|
|
44
46
|
|
|
45
47
|
request_options: OpenAI::RequestOptions::OrHash
|
|
@@ -62,7 +64,8 @@ module OpenAI
|
|
|
62
64
|
project_id: String,
|
|
63
65
|
provider: T.any(
|
|
64
66
|
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Aws,
|
|
65
|
-
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Azure
|
|
67
|
+
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Azure,
|
|
68
|
+
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Gcp
|
|
66
69
|
),
|
|
67
70
|
request_options: OpenAI::RequestOptions
|
|
68
71
|
}
|
|
@@ -77,7 +80,8 @@ module OpenAI
|
|
|
77
80
|
Variants = T.type_alias {
|
|
78
81
|
T.any(
|
|
79
82
|
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Aws,
|
|
80
|
-
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Azure
|
|
83
|
+
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Azure,
|
|
84
|
+
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Gcp
|
|
81
85
|
)
|
|
82
86
|
}
|
|
83
87
|
|
|
@@ -205,6 +209,74 @@ module OpenAI
|
|
|
205
209
|
|
|
206
210
|
end
|
|
207
211
|
|
|
212
|
+
class Gcp < OpenAI::Internal::Type::BaseModel
|
|
213
|
+
OrHash = T.type_alias do
|
|
214
|
+
T.any(
|
|
215
|
+
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Gcp,
|
|
216
|
+
OpenAI::Internal::AnyHash
|
|
217
|
+
)
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
sig { returns(String) }
|
|
221
|
+
attr_accessor :bucket
|
|
222
|
+
|
|
223
|
+
sig { returns(Symbol) }
|
|
224
|
+
attr_accessor :type
|
|
225
|
+
|
|
226
|
+
sig { returns(String) }
|
|
227
|
+
attr_accessor :workload_identity_pool_id
|
|
228
|
+
|
|
229
|
+
sig { returns(String) }
|
|
230
|
+
attr_accessor :workload_identity_project_number
|
|
231
|
+
|
|
232
|
+
sig { returns(String) }
|
|
233
|
+
attr_accessor :workload_identity_provider_id
|
|
234
|
+
|
|
235
|
+
sig do
|
|
236
|
+
params(
|
|
237
|
+
|
|
238
|
+
bucket: String,
|
|
239
|
+
|
|
240
|
+
workload_identity_pool_id: String,
|
|
241
|
+
|
|
242
|
+
workload_identity_project_number: String,
|
|
243
|
+
|
|
244
|
+
workload_identity_provider_id: String,
|
|
245
|
+
|
|
246
|
+
type: Symbol
|
|
247
|
+
)
|
|
248
|
+
.returns(T.attached_class)
|
|
249
|
+
end
|
|
250
|
+
def self.new(
|
|
251
|
+
|
|
252
|
+
bucket:,
|
|
253
|
+
|
|
254
|
+
workload_identity_pool_id:,
|
|
255
|
+
|
|
256
|
+
workload_identity_project_number:,
|
|
257
|
+
|
|
258
|
+
workload_identity_provider_id:,
|
|
259
|
+
|
|
260
|
+
type: :gcp
|
|
261
|
+
)
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
sig do
|
|
265
|
+
override.returns(
|
|
266
|
+
{
|
|
267
|
+
bucket: String,
|
|
268
|
+
type: Symbol,
|
|
269
|
+
workload_identity_pool_id: String,
|
|
270
|
+
workload_identity_project_number: String,
|
|
271
|
+
workload_identity_provider_id: String
|
|
272
|
+
}
|
|
273
|
+
)
|
|
274
|
+
end
|
|
275
|
+
def to_hash
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
end
|
|
279
|
+
|
|
208
280
|
sig {
|
|
209
281
|
override.returns(T::Array[OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Variants])
|
|
210
282
|
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module OpenAI
|
|
4
|
+
module Models
|
|
5
|
+
|
|
6
|
+
module Admin
|
|
7
|
+
|
|
8
|
+
module Organization
|
|
9
|
+
|
|
10
|
+
class GcpExternalStorageProvider < OpenAI::Internal::Type::BaseModel
|
|
11
|
+
|
|
12
|
+
OrHash = T.type_alias do
|
|
13
|
+
T.any(
|
|
14
|
+
OpenAI::Admin::Organization::GcpExternalStorageProvider,
|
|
15
|
+
OpenAI::Internal::AnyHash
|
|
16
|
+
)
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
sig { returns(String) }
|
|
20
|
+
attr_accessor :audience
|
|
21
|
+
|
|
22
|
+
sig { returns(String) }
|
|
23
|
+
attr_accessor :bucket
|
|
24
|
+
|
|
25
|
+
sig { returns(String) }
|
|
26
|
+
attr_accessor :region
|
|
27
|
+
|
|
28
|
+
sig { returns(Symbol) }
|
|
29
|
+
attr_accessor :type
|
|
30
|
+
|
|
31
|
+
sig { returns(String) }
|
|
32
|
+
attr_accessor :workload_identity_pool_id
|
|
33
|
+
|
|
34
|
+
sig { returns(String) }
|
|
35
|
+
attr_accessor :workload_identity_project_number
|
|
36
|
+
|
|
37
|
+
sig { returns(String) }
|
|
38
|
+
attr_accessor :workload_identity_provider_id
|
|
39
|
+
|
|
40
|
+
sig do
|
|
41
|
+
params(
|
|
42
|
+
|
|
43
|
+
audience: String,
|
|
44
|
+
|
|
45
|
+
bucket: String,
|
|
46
|
+
|
|
47
|
+
region: String,
|
|
48
|
+
|
|
49
|
+
workload_identity_pool_id: String,
|
|
50
|
+
|
|
51
|
+
workload_identity_project_number: String,
|
|
52
|
+
|
|
53
|
+
workload_identity_provider_id: String,
|
|
54
|
+
|
|
55
|
+
type: Symbol
|
|
56
|
+
)
|
|
57
|
+
.returns(T.attached_class)
|
|
58
|
+
end
|
|
59
|
+
def self.new(
|
|
60
|
+
|
|
61
|
+
audience:,
|
|
62
|
+
|
|
63
|
+
bucket:,
|
|
64
|
+
|
|
65
|
+
region:,
|
|
66
|
+
|
|
67
|
+
workload_identity_pool_id:,
|
|
68
|
+
|
|
69
|
+
workload_identity_project_number:,
|
|
70
|
+
|
|
71
|
+
workload_identity_provider_id:,
|
|
72
|
+
|
|
73
|
+
type: :gcp
|
|
74
|
+
)
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
sig do
|
|
78
|
+
override.returns(
|
|
79
|
+
{
|
|
80
|
+
audience: String,
|
|
81
|
+
bucket: String,
|
|
82
|
+
region: String,
|
|
83
|
+
type: Symbol,
|
|
84
|
+
workload_identity_pool_id: String,
|
|
85
|
+
workload_identity_project_number: String,
|
|
86
|
+
workload_identity_provider_id: String
|
|
87
|
+
}
|
|
88
|
+
)
|
|
89
|
+
end
|
|
90
|
+
def to_hash
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
end
|
|
100
|
+
end
|
|
@@ -51,6 +51,7 @@ module OpenAI
|
|
|
51
51
|
)
|
|
52
52
|
GPT_DAYBREAK_RED_LATEST = T.let(:"gpt-daybreak-red-latest", OpenAI::AllModels::ResponsesOnlyModel::TaggedSymbol)
|
|
53
53
|
GPT_5_6_CYBER = T.let(:"gpt-5.6-cyber", OpenAI::AllModels::ResponsesOnlyModel::TaggedSymbol)
|
|
54
|
+
GPT_ROSALIND_RESEARCH = T.let(:"gpt-rosalind-research", OpenAI::AllModels::ResponsesOnlyModel::TaggedSymbol)
|
|
54
55
|
|
|
55
56
|
sig { override.returns(T::Array[OpenAI::AllModels::ResponsesOnlyModel::TaggedSymbol]) }
|
|
56
57
|
def self.values
|
|
@@ -863,6 +863,8 @@ module OpenAI
|
|
|
863
863
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
864
864
|
|
|
865
865
|
GPT_6_ASTRA = T.let(:"gpt-6-astra", OpenAI::Beta::BetaResponse::Model::TaggedSymbol)
|
|
866
|
+
GPT_6_SOL = T.let(:"gpt-6-sol", OpenAI::Beta::BetaResponse::Model::TaggedSymbol)
|
|
867
|
+
GPT_6_LUNA = T.let(:"gpt-6-luna", OpenAI::Beta::BetaResponse::Model::TaggedSymbol)
|
|
866
868
|
GPT_5_6_SOL = T.let(:"gpt-5.6-sol", OpenAI::Beta::BetaResponse::Model::TaggedSymbol)
|
|
867
869
|
GPT_5_6_TERRA = T.let(:"gpt-5.6-terra", OpenAI::Beta::BetaResponse::Model::TaggedSymbol)
|
|
868
870
|
GPT_5_6_LUNA = T.let(:"gpt-5.6-luna", OpenAI::Beta::BetaResponse::Model::TaggedSymbol)
|
|
@@ -1003,6 +1005,7 @@ module OpenAI
|
|
|
1003
1005
|
GPT_DAYBREAK_BLUE_LATEST = T.let(:"gpt-daybreak-blue-latest", OpenAI::Beta::BetaResponse::Model::TaggedSymbol)
|
|
1004
1006
|
GPT_DAYBREAK_RED_LATEST = T.let(:"gpt-daybreak-red-latest", OpenAI::Beta::BetaResponse::Model::TaggedSymbol)
|
|
1005
1007
|
GPT_5_6_CYBER = T.let(:"gpt-5.6-cyber", OpenAI::Beta::BetaResponse::Model::TaggedSymbol)
|
|
1008
|
+
GPT_ROSALIND_RESEARCH = T.let(:"gpt-rosalind-research", OpenAI::Beta::BetaResponse::Model::TaggedSymbol)
|
|
1006
1009
|
|
|
1007
1010
|
end
|
|
1008
1011
|
|
|
@@ -1049,6 +1049,11 @@ module OpenAI
|
|
|
1049
1049
|
:"gpt-6-astra",
|
|
1050
1050
|
OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::Model::TaggedSymbol
|
|
1051
1051
|
)
|
|
1052
|
+
GPT_6_SOL = T.let(:"gpt-6-sol", OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::Model::TaggedSymbol)
|
|
1053
|
+
GPT_6_LUNA = T.let(
|
|
1054
|
+
:"gpt-6-luna",
|
|
1055
|
+
OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::Model::TaggedSymbol
|
|
1056
|
+
)
|
|
1052
1057
|
GPT_5_6_SOL = T.let(
|
|
1053
1058
|
:"gpt-5.6-sol",
|
|
1054
1059
|
OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::Model::TaggedSymbol
|
|
@@ -1414,6 +1419,10 @@ module OpenAI
|
|
|
1414
1419
|
:"gpt-5.6-cyber",
|
|
1415
1420
|
OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::Model::TaggedSymbol
|
|
1416
1421
|
)
|
|
1422
|
+
GPT_ROSALIND_RESEARCH = T.let(
|
|
1423
|
+
:"gpt-rosalind-research",
|
|
1424
|
+
OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::Model::TaggedSymbol
|
|
1425
|
+
)
|
|
1417
1426
|
|
|
1418
1427
|
end
|
|
1419
1428
|
|
|
@@ -133,7 +133,8 @@ module OpenAI
|
|
|
133
133
|
}
|
|
134
134
|
attr_accessor :skills
|
|
135
135
|
|
|
136
|
-
# An OpenAI-hosted environment
|
|
136
|
+
# An existing OpenAI-hosted environment or new inline/template-based hosted
|
|
137
|
+
# configuration.
|
|
137
138
|
sig do
|
|
138
139
|
params(
|
|
139
140
|
|
|
@@ -223,6 +223,8 @@ module OpenAI
|
|
|
223
223
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
224
224
|
|
|
225
225
|
GPT_6_ASTRA = T.let(:"gpt-6-astra", OpenAI::Beta::ResponseCompactParams::Model::TaggedSymbol)
|
|
226
|
+
GPT_6_SOL = T.let(:"gpt-6-sol", OpenAI::Beta::ResponseCompactParams::Model::TaggedSymbol)
|
|
227
|
+
GPT_6_LUNA = T.let(:"gpt-6-luna", OpenAI::Beta::ResponseCompactParams::Model::TaggedSymbol)
|
|
226
228
|
GPT_5_6_SOL = T.let(:"gpt-5.6-sol", OpenAI::Beta::ResponseCompactParams::Model::TaggedSymbol)
|
|
227
229
|
GPT_5_6_TERRA = T.let(:"gpt-5.6-terra", OpenAI::Beta::ResponseCompactParams::Model::TaggedSymbol)
|
|
228
230
|
GPT_5_6_LUNA = T.let(:"gpt-5.6-luna", OpenAI::Beta::ResponseCompactParams::Model::TaggedSymbol)
|
|
@@ -423,6 +425,10 @@ module OpenAI
|
|
|
423
425
|
OpenAI::Beta::ResponseCompactParams::Model::TaggedSymbol
|
|
424
426
|
)
|
|
425
427
|
GPT_5_6_CYBER = T.let(:"gpt-5.6-cyber", OpenAI::Beta::ResponseCompactParams::Model::TaggedSymbol)
|
|
428
|
+
GPT_ROSALIND_RESEARCH = T.let(
|
|
429
|
+
:"gpt-rosalind-research",
|
|
430
|
+
OpenAI::Beta::ResponseCompactParams::Model::TaggedSymbol
|
|
431
|
+
)
|
|
426
432
|
|
|
427
433
|
end
|
|
428
434
|
|
|
@@ -947,6 +947,8 @@ module OpenAI
|
|
|
947
947
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
948
948
|
|
|
949
949
|
GPT_6_ASTRA = T.let(:"gpt-6-astra", OpenAI::Beta::ResponseCreateParams::Model::TaggedSymbol)
|
|
950
|
+
GPT_6_SOL = T.let(:"gpt-6-sol", OpenAI::Beta::ResponseCreateParams::Model::TaggedSymbol)
|
|
951
|
+
GPT_6_LUNA = T.let(:"gpt-6-luna", OpenAI::Beta::ResponseCreateParams::Model::TaggedSymbol)
|
|
950
952
|
GPT_5_6_SOL = T.let(:"gpt-5.6-sol", OpenAI::Beta::ResponseCreateParams::Model::TaggedSymbol)
|
|
951
953
|
GPT_5_6_TERRA = T.let(:"gpt-5.6-terra", OpenAI::Beta::ResponseCreateParams::Model::TaggedSymbol)
|
|
952
954
|
GPT_5_6_LUNA = T.let(:"gpt-5.6-luna", OpenAI::Beta::ResponseCreateParams::Model::TaggedSymbol)
|
|
@@ -1135,6 +1137,10 @@ module OpenAI
|
|
|
1135
1137
|
OpenAI::Beta::ResponseCreateParams::Model::TaggedSymbol
|
|
1136
1138
|
)
|
|
1137
1139
|
GPT_5_6_CYBER = T.let(:"gpt-5.6-cyber", OpenAI::Beta::ResponseCreateParams::Model::TaggedSymbol)
|
|
1140
|
+
GPT_ROSALIND_RESEARCH = T.let(
|
|
1141
|
+
:"gpt-rosalind-research",
|
|
1142
|
+
OpenAI::Beta::ResponseCreateParams::Model::TaggedSymbol
|
|
1143
|
+
)
|
|
1138
1144
|
|
|
1139
1145
|
end
|
|
1140
1146
|
|
|
@@ -10,6 +10,8 @@ module OpenAI
|
|
|
10
10
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
11
11
|
|
|
12
12
|
GPT_6_ASTRA = T.let(:"gpt-6-astra", OpenAI::ChatModel::TaggedSymbol)
|
|
13
|
+
GPT_6_SOL = T.let(:"gpt-6-sol", OpenAI::ChatModel::TaggedSymbol)
|
|
14
|
+
GPT_6_LUNA = T.let(:"gpt-6-luna", OpenAI::ChatModel::TaggedSymbol)
|
|
13
15
|
GPT_5_6_SOL = T.let(:"gpt-5.6-sol", OpenAI::ChatModel::TaggedSymbol)
|
|
14
16
|
GPT_5_6_TERRA = T.let(:"gpt-5.6-terra", OpenAI::ChatModel::TaggedSymbol)
|
|
15
17
|
GPT_5_6_LUNA = T.let(:"gpt-5.6-luna", OpenAI::ChatModel::TaggedSymbol)
|
|
@@ -215,6 +215,8 @@ module OpenAI
|
|
|
215
215
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
216
216
|
|
|
217
217
|
GPT_6_ASTRA = T.let(:"gpt-6-astra", OpenAI::Responses::ResponseCompactParams::Model::TaggedSymbol)
|
|
218
|
+
GPT_6_SOL = T.let(:"gpt-6-sol", OpenAI::Responses::ResponseCompactParams::Model::TaggedSymbol)
|
|
219
|
+
GPT_6_LUNA = T.let(:"gpt-6-luna", OpenAI::Responses::ResponseCompactParams::Model::TaggedSymbol)
|
|
218
220
|
GPT_5_6_SOL = T.let(:"gpt-5.6-sol", OpenAI::Responses::ResponseCompactParams::Model::TaggedSymbol)
|
|
219
221
|
GPT_5_6_TERRA = T.let(:"gpt-5.6-terra", OpenAI::Responses::ResponseCompactParams::Model::TaggedSymbol)
|
|
220
222
|
GPT_5_6_LUNA = T.let(:"gpt-5.6-luna", OpenAI::Responses::ResponseCompactParams::Model::TaggedSymbol)
|
|
@@ -466,6 +468,10 @@ module OpenAI
|
|
|
466
468
|
OpenAI::Responses::ResponseCompactParams::Model::TaggedSymbol
|
|
467
469
|
)
|
|
468
470
|
GPT_5_6_CYBER = T.let(:"gpt-5.6-cyber", OpenAI::Responses::ResponseCompactParams::Model::TaggedSymbol)
|
|
471
|
+
GPT_ROSALIND_RESEARCH = T.let(
|
|
472
|
+
:"gpt-rosalind-research",
|
|
473
|
+
OpenAI::Responses::ResponseCompactParams::Model::TaggedSymbol
|
|
474
|
+
)
|
|
469
475
|
|
|
470
476
|
end
|
|
471
477
|
|
|
@@ -60,6 +60,10 @@ module OpenAI
|
|
|
60
60
|
OpenAI::ResponsesModel::ResponsesOnlyModel::TaggedSymbol
|
|
61
61
|
)
|
|
62
62
|
GPT_5_6_CYBER = T.let(:"gpt-5.6-cyber", OpenAI::ResponsesModel::ResponsesOnlyModel::TaggedSymbol)
|
|
63
|
+
GPT_ROSALIND_RESEARCH = T.let(
|
|
64
|
+
:"gpt-rosalind-research",
|
|
65
|
+
OpenAI::ResponsesModel::ResponsesOnlyModel::TaggedSymbol
|
|
66
|
+
)
|
|
63
67
|
|
|
64
68
|
sig { override.returns(T::Array[OpenAI::ResponsesModel::ResponsesOnlyModel::TaggedSymbol]) }
|
|
65
69
|
def self.values
|
|
@@ -20,6 +20,14 @@ module OpenAI
|
|
|
20
20
|
sig { returns(String) }
|
|
21
21
|
attr_accessor :message
|
|
22
22
|
|
|
23
|
+
# The Retry-After and Retry-After-Ms headers returned with the original error, if
|
|
24
|
+
# any.
|
|
25
|
+
sig { returns(T.nilable(T::Hash[Symbol, String])) }
|
|
26
|
+
attr_reader :headers
|
|
27
|
+
|
|
28
|
+
sig { params(headers: T::Hash[Symbol, String]).void }
|
|
29
|
+
attr_writer :headers
|
|
30
|
+
|
|
23
31
|
sig { returns(T.nilable(OpenAI::VideoCreateError::Misalignment)) }
|
|
24
32
|
attr_reader :misalignment
|
|
25
33
|
|
|
@@ -34,6 +42,8 @@ module OpenAI
|
|
|
34
42
|
|
|
35
43
|
message: String,
|
|
36
44
|
|
|
45
|
+
headers: T::Hash[Symbol, String],
|
|
46
|
+
|
|
37
47
|
misalignment: OpenAI::VideoCreateError::Misalignment::OrHash
|
|
38
48
|
)
|
|
39
49
|
.returns(T.attached_class)
|
|
@@ -46,13 +56,22 @@ module OpenAI
|
|
|
46
56
|
# A human-readable description of the error that was returned.
|
|
47
57
|
message:,
|
|
48
58
|
|
|
59
|
+
# The Retry-After and Retry-After-Ms headers returned with the original error, if
|
|
60
|
+
# any.
|
|
61
|
+
headers: nil,
|
|
62
|
+
|
|
49
63
|
misalignment: nil
|
|
50
64
|
)
|
|
51
65
|
end
|
|
52
66
|
|
|
53
67
|
sig do
|
|
54
68
|
override.returns(
|
|
55
|
-
{
|
|
69
|
+
{
|
|
70
|
+
code: String,
|
|
71
|
+
message: String,
|
|
72
|
+
headers: T::Hash[Symbol, String],
|
|
73
|
+
misalignment: OpenAI::VideoCreateError::Misalignment
|
|
74
|
+
}
|
|
56
75
|
)
|
|
57
76
|
end
|
|
58
77
|
def to_hash
|
|
@@ -15,7 +15,8 @@ module OpenAI
|
|
|
15
15
|
project_id: String,
|
|
16
16
|
provider: T.any(
|
|
17
17
|
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Aws::OrHash,
|
|
18
|
-
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Azure::OrHash
|
|
18
|
+
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Azure::OrHash,
|
|
19
|
+
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Gcp::OrHash
|
|
19
20
|
),
|
|
20
21
|
request_options: OpenAI::RequestOptions::OrHash
|
|
21
22
|
)
|
|
@@ -1837,6 +1837,7 @@ module OpenAI
|
|
|
1837
1837
|
type provider =
|
|
1838
1838
|
OpenAI::Admin::Organization::AwsExternalStorageProvider
|
|
1839
1839
|
| OpenAI::Admin::Organization::AzureExternalStorageProvider
|
|
1840
|
+
| OpenAI::Admin::Organization::GcpExternalStorageProvider
|
|
1840
1841
|
|
|
1841
1842
|
module Provider
|
|
1842
1843
|
extend OpenAI::Internal::Type::Union
|
|
@@ -51,6 +51,7 @@ module OpenAI
|
|
|
51
51
|
type provider =
|
|
52
52
|
OpenAI::Admin::Organization::AwsExternalStorageProvider
|
|
53
53
|
| OpenAI::Admin::Organization::AzureExternalStorageProvider
|
|
54
|
+
| OpenAI::Admin::Organization::GcpExternalStorageProvider
|
|
54
55
|
|
|
55
56
|
module Provider
|
|
56
57
|
extend OpenAI::Internal::Type::Union
|
|
@@ -32,6 +32,7 @@ module OpenAI
|
|
|
32
32
|
type provider =
|
|
33
33
|
OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Aws
|
|
34
34
|
| OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Azure
|
|
35
|
+
| OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider::Gcp
|
|
35
36
|
|
|
36
37
|
module Provider
|
|
37
38
|
extend OpenAI::Internal::Type::Union
|
|
@@ -96,6 +97,43 @@ module OpenAI
|
|
|
96
97
|
}
|
|
97
98
|
end
|
|
98
99
|
|
|
100
|
+
type gcp =
|
|
101
|
+
{
|
|
102
|
+
bucket: String,
|
|
103
|
+
?type: :gcp,
|
|
104
|
+
workload_identity_pool_id: String,
|
|
105
|
+
workload_identity_project_number: String,
|
|
106
|
+
workload_identity_provider_id: String
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
class Gcp < OpenAI::Internal::Type::BaseModel
|
|
110
|
+
attr_accessor bucket: String
|
|
111
|
+
|
|
112
|
+
attr_accessor type: :gcp
|
|
113
|
+
|
|
114
|
+
attr_accessor workload_identity_pool_id: String
|
|
115
|
+
|
|
116
|
+
attr_accessor workload_identity_project_number: String
|
|
117
|
+
|
|
118
|
+
attr_accessor workload_identity_provider_id: String
|
|
119
|
+
|
|
120
|
+
def initialize: (
|
|
121
|
+
bucket: String,
|
|
122
|
+
workload_identity_pool_id: String,
|
|
123
|
+
workload_identity_project_number: String,
|
|
124
|
+
workload_identity_provider_id: String,
|
|
125
|
+
?type: :gcp
|
|
126
|
+
) -> void
|
|
127
|
+
|
|
128
|
+
def to_hash: -> {
|
|
129
|
+
bucket: String,
|
|
130
|
+
?type: :gcp,
|
|
131
|
+
workload_identity_pool_id: String,
|
|
132
|
+
workload_identity_project_number: String,
|
|
133
|
+
workload_identity_provider_id: String
|
|
134
|
+
}
|
|
135
|
+
end
|
|
136
|
+
|
|
99
137
|
def self?.variants: -> ::Array[OpenAI::Models::Admin::Organization::ExternalStorageCreateParams::provider]
|
|
100
138
|
end
|
|
101
139
|
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
module OpenAI
|
|
2
|
+
module Models
|
|
3
|
+
module Admin
|
|
4
|
+
module Organization
|
|
5
|
+
type gcp_external_storage_provider =
|
|
6
|
+
{
|
|
7
|
+
audience: String,
|
|
8
|
+
bucket: String,
|
|
9
|
+
region: String,
|
|
10
|
+
?type: :gcp,
|
|
11
|
+
workload_identity_pool_id: String,
|
|
12
|
+
workload_identity_project_number: String,
|
|
13
|
+
workload_identity_provider_id: String
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
class GcpExternalStorageProvider < OpenAI::Internal::Type::BaseModel
|
|
17
|
+
attr_accessor audience: String
|
|
18
|
+
|
|
19
|
+
attr_accessor bucket: String
|
|
20
|
+
|
|
21
|
+
attr_accessor region: String
|
|
22
|
+
|
|
23
|
+
attr_accessor type: :gcp
|
|
24
|
+
|
|
25
|
+
attr_accessor workload_identity_pool_id: String
|
|
26
|
+
|
|
27
|
+
attr_accessor workload_identity_project_number: String
|
|
28
|
+
|
|
29
|
+
attr_accessor workload_identity_provider_id: String
|
|
30
|
+
|
|
31
|
+
def initialize: (
|
|
32
|
+
audience: String,
|
|
33
|
+
bucket: String,
|
|
34
|
+
region: String,
|
|
35
|
+
workload_identity_pool_id: String,
|
|
36
|
+
workload_identity_project_number: String,
|
|
37
|
+
workload_identity_provider_id: String,
|
|
38
|
+
?type: :gcp
|
|
39
|
+
) -> void
|
|
40
|
+
|
|
41
|
+
def to_hash: -> {
|
|
42
|
+
audience: String,
|
|
43
|
+
bucket: String,
|
|
44
|
+
region: String,
|
|
45
|
+
?type: :gcp,
|
|
46
|
+
workload_identity_pool_id: String,
|
|
47
|
+
workload_identity_project_number: String,
|
|
48
|
+
workload_identity_provider_id: String
|
|
49
|
+
}
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
@@ -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::AllModels::responses_only_model]
|
|
56
58
|
end
|
|
@@ -647,6 +647,8 @@ module OpenAI
|
|
|
647
647
|
|
|
648
648
|
type model =
|
|
649
649
|
:"gpt-6-astra"
|
|
650
|
+
| :"gpt-6-sol"
|
|
651
|
+
| :"gpt-6-luna"
|
|
650
652
|
| :"gpt-5.6-sol"
|
|
651
653
|
| :"gpt-5.6-terra"
|
|
652
654
|
| :"gpt-5.6-luna"
|
|
@@ -751,6 +753,7 @@ module OpenAI
|
|
|
751
753
|
| :"gpt-daybreak-blue-latest"
|
|
752
754
|
| :"gpt-daybreak-red-latest"
|
|
753
755
|
| :"gpt-5.6-cyber"
|
|
756
|
+
| :"gpt-rosalind-research"
|
|
754
757
|
| String
|
|
755
758
|
|
|
756
759
|
module Model
|
|
@@ -759,6 +762,8 @@ module OpenAI
|
|
|
759
762
|
def self?.variants: -> ::Array[OpenAI::Models::Beta::BetaResponse::model]
|
|
760
763
|
|
|
761
764
|
GPT_6_ASTRA: :"gpt-6-astra"
|
|
765
|
+
GPT_6_SOL: :"gpt-6-sol"
|
|
766
|
+
GPT_6_LUNA: :"gpt-6-luna"
|
|
762
767
|
GPT_5_6_SOL: :"gpt-5.6-sol"
|
|
763
768
|
GPT_5_6_TERRA: :"gpt-5.6-terra"
|
|
764
769
|
GPT_5_6_LUNA: :"gpt-5.6-luna"
|
|
@@ -863,6 +868,7 @@ module OpenAI
|
|
|
863
868
|
GPT_DAYBREAK_BLUE_LATEST: :"gpt-daybreak-blue-latest"
|
|
864
869
|
GPT_DAYBREAK_RED_LATEST: :"gpt-daybreak-red-latest"
|
|
865
870
|
GPT_5_6_CYBER: :"gpt-5.6-cyber"
|
|
871
|
+
GPT_ROSALIND_RESEARCH: :"gpt-rosalind-research"
|
|
866
872
|
end
|
|
867
873
|
|
|
868
874
|
type tool_choice =
|
|
@@ -749,6 +749,8 @@ module OpenAI
|
|
|
749
749
|
|
|
750
750
|
type model =
|
|
751
751
|
:"gpt-6-astra"
|
|
752
|
+
| :"gpt-6-sol"
|
|
753
|
+
| :"gpt-6-luna"
|
|
752
754
|
| :"gpt-5.6-sol"
|
|
753
755
|
| :"gpt-5.6-terra"
|
|
754
756
|
| :"gpt-5.6-luna"
|
|
@@ -853,6 +855,7 @@ module OpenAI
|
|
|
853
855
|
| :"gpt-daybreak-blue-latest"
|
|
854
856
|
| :"gpt-daybreak-red-latest"
|
|
855
857
|
| :"gpt-5.6-cyber"
|
|
858
|
+
| :"gpt-rosalind-research"
|
|
856
859
|
| String
|
|
857
860
|
|
|
858
861
|
module Model
|
|
@@ -861,6 +864,8 @@ module OpenAI
|
|
|
861
864
|
def self?.variants: -> ::Array[OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::model]
|
|
862
865
|
|
|
863
866
|
GPT_6_ASTRA: :"gpt-6-astra"
|
|
867
|
+
GPT_6_SOL: :"gpt-6-sol"
|
|
868
|
+
GPT_6_LUNA: :"gpt-6-luna"
|
|
864
869
|
GPT_5_6_SOL: :"gpt-5.6-sol"
|
|
865
870
|
GPT_5_6_TERRA: :"gpt-5.6-terra"
|
|
866
871
|
GPT_5_6_LUNA: :"gpt-5.6-luna"
|
|
@@ -965,6 +970,7 @@ module OpenAI
|
|
|
965
970
|
GPT_DAYBREAK_BLUE_LATEST: :"gpt-daybreak-blue-latest"
|
|
966
971
|
GPT_DAYBREAK_RED_LATEST: :"gpt-daybreak-red-latest"
|
|
967
972
|
GPT_5_6_CYBER: :"gpt-5.6-cyber"
|
|
973
|
+
GPT_ROSALIND_RESEARCH: :"gpt-rosalind-research"
|
|
968
974
|
end
|
|
969
975
|
|
|
970
976
|
type moderation =
|
|
@@ -159,6 +159,8 @@ module OpenAI
|
|
|
159
159
|
|
|
160
160
|
type model =
|
|
161
161
|
:"gpt-6-astra"
|
|
162
|
+
| :"gpt-6-sol"
|
|
163
|
+
| :"gpt-6-luna"
|
|
162
164
|
| :"gpt-5.6-sol"
|
|
163
165
|
| :"gpt-5.6-terra"
|
|
164
166
|
| :"gpt-5.6-luna"
|
|
@@ -263,6 +265,7 @@ module OpenAI
|
|
|
263
265
|
| :"gpt-daybreak-blue-latest"
|
|
264
266
|
| :"gpt-daybreak-red-latest"
|
|
265
267
|
| :"gpt-5.6-cyber"
|
|
268
|
+
| :"gpt-rosalind-research"
|
|
266
269
|
| String
|
|
267
270
|
|
|
268
271
|
module Model
|
|
@@ -271,6 +274,8 @@ module OpenAI
|
|
|
271
274
|
def self?.variants: -> ::Array[OpenAI::Models::Beta::ResponseCompactParams::model]
|
|
272
275
|
|
|
273
276
|
GPT_6_ASTRA: :"gpt-6-astra"
|
|
277
|
+
GPT_6_SOL: :"gpt-6-sol"
|
|
278
|
+
GPT_6_LUNA: :"gpt-6-luna"
|
|
274
279
|
GPT_5_6_SOL: :"gpt-5.6-sol"
|
|
275
280
|
GPT_5_6_TERRA: :"gpt-5.6-terra"
|
|
276
281
|
GPT_5_6_LUNA: :"gpt-5.6-luna"
|
|
@@ -375,6 +380,7 @@ module OpenAI
|
|
|
375
380
|
GPT_DAYBREAK_BLUE_LATEST: :"gpt-daybreak-blue-latest"
|
|
376
381
|
GPT_DAYBREAK_RED_LATEST: :"gpt-daybreak-red-latest"
|
|
377
382
|
GPT_5_6_CYBER: :"gpt-5.6-cyber"
|
|
383
|
+
GPT_ROSALIND_RESEARCH: :"gpt-rosalind-research"
|
|
378
384
|
end
|
|
379
385
|
|
|
380
386
|
type input =
|