openai 1.2.0 → 1.3.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.
Files changed (202) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -0
  3. data/README.md +1 -1
  4. data/lib/openai/models/admin/organization/organization_spend_limit.rb +38 -1
  5. data/lib/openai/models/admin/organization/projects/project_spend_limit.rb +38 -1
  6. data/lib/openai/models/admin/organization/projects/spend_limit_update_params.rb +51 -1
  7. data/lib/openai/models/admin/organization/spend_limit_update_params.rb +49 -1
  8. data/lib/openai/models/admin/organization/usage_costs_params.rb +2 -2
  9. data/lib/openai/models/batch.rb +4 -6
  10. data/lib/openai/models/batch_create_params.rb +2 -4
  11. data/lib/openai/models/beta/agents/automation_target_param.rb +2 -2
  12. data/lib/openai/models/beta/agents/session_create_params.rb +2 -2
  13. data/lib/openai/models/beta/agents/session_update_params.rb +12 -1
  14. data/lib/openai/models/beta/beta_compacted_response.rb +19 -1
  15. data/lib/openai/models/beta/beta_container_auto.rb +8 -2
  16. data/lib/openai/models/beta/beta_response.rb +11 -13
  17. data/lib/openai/models/beta/beta_responses_client_event.rb +11 -13
  18. data/lib/openai/models/beta/response_compact_params.rb +19 -10
  19. data/lib/openai/models/beta/response_create_params.rb +11 -13
  20. data/lib/openai/models/chat/chat_completion.rb +2 -4
  21. data/lib/openai/models/chat/completion_create_params.rb +15 -17
  22. data/lib/openai/models/chat/completion_update_params.rb +2 -4
  23. data/lib/openai/models/completion_create_params.rb +3 -3
  24. data/lib/openai/models/conversations/conversation_create_params.rb +12 -5
  25. data/lib/openai/models/eval_create_params.rb +2 -4
  26. data/lib/openai/models/eval_create_response.rb +5 -9
  27. data/lib/openai/models/eval_list_response.rb +5 -9
  28. data/lib/openai/models/eval_retrieve_response.rb +5 -9
  29. data/lib/openai/models/eval_stored_completions_data_source_config.rb +2 -4
  30. data/lib/openai/models/eval_update_params.rb +2 -4
  31. data/lib/openai/models/eval_update_response.rb +5 -9
  32. data/lib/openai/models/evals/create_eval_completions_run_data_source.rb +6 -8
  33. data/lib/openai/models/evals/run_cancel_response.rb +4 -6
  34. data/lib/openai/models/evals/run_create_params.rb +4 -6
  35. data/lib/openai/models/evals/run_create_response.rb +4 -6
  36. data/lib/openai/models/evals/run_list_response.rb +4 -6
  37. data/lib/openai/models/evals/run_retrieve_response.rb +4 -6
  38. data/lib/openai/models/fine_tuning/fine_tuning_job.rb +2 -4
  39. data/lib/openai/models/fine_tuning/job_create_params.rb +7 -6
  40. data/lib/openai/models/live/fork_server_event.rb +4 -4
  41. data/lib/openai/models/live/media_session_config.rb +15 -16
  42. data/lib/openai/models/live/responses_delegation_config.rb +8 -2
  43. data/lib/openai/models/live/responses_delegation_update_config.rb +8 -2
  44. data/lib/openai/models/live/server_event.rb +4 -4
  45. data/lib/openai/models/live/sideband_server_event.rb +4 -4
  46. data/lib/openai/models/realtime/realtime_audio_config_input.rb +12 -9
  47. data/lib/openai/models/realtime/realtime_response.rb +2 -4
  48. data/lib/openai/models/realtime/realtime_response_create_params.rb +2 -4
  49. data/lib/openai/models/responses/compacted_response.rb +19 -1
  50. data/lib/openai/models/responses/container_auto.rb +8 -2
  51. data/lib/openai/models/responses/response.rb +8 -10
  52. data/lib/openai/models/responses/response_compact_params.rb +19 -10
  53. data/lib/openai/models/responses/response_create_params.rb +8 -10
  54. data/lib/openai/models/responses/responses_client_event.rb +8 -10
  55. data/lib/openai/models/vector_store.rb +2 -4
  56. data/lib/openai/models/vector_store_create_params.rb +2 -4
  57. data/lib/openai/models/vector_store_update_params.rb +2 -4
  58. data/lib/openai/resources/admin/organization/projects/spend_limit.rb +5 -1
  59. data/lib/openai/resources/admin/organization/spend_limit.rb +5 -1
  60. data/lib/openai/resources/admin/organization/usage.rb +1 -1
  61. data/lib/openai/resources/batches.rb +1 -2
  62. data/lib/openai/resources/beta/agents/sessions/events.rb +7 -2
  63. data/lib/openai/resources/beta/agents/sessions/traces.rb +4 -2
  64. data/lib/openai/resources/beta/agents/sessions.rb +8 -4
  65. data/lib/openai/resources/beta/responses.rb +9 -6
  66. data/lib/openai/resources/chat/completions.rb +11 -14
  67. data/lib/openai/resources/completions.rb +2 -2
  68. data/lib/openai/resources/conversations.rb +5 -3
  69. data/lib/openai/resources/evals/runs.rb +1 -2
  70. data/lib/openai/resources/evals.rb +2 -4
  71. data/lib/openai/resources/fine_tuning/jobs.rb +2 -3
  72. data/lib/openai/resources/responses.rb +15 -14
  73. data/lib/openai/resources/vector_stores.rb +2 -4
  74. data/lib/openai/version.rb +1 -1
  75. data/rbi/openai/models/admin/organization/organization_spend_limit.rbi +68 -1
  76. data/rbi/openai/models/admin/organization/projects/project_spend_limit.rbi +68 -1
  77. data/rbi/openai/models/admin/organization/projects/spend_limit_update_params.rbi +87 -0
  78. data/rbi/openai/models/admin/organization/spend_limit_update_params.rbi +85 -0
  79. data/rbi/openai/models/admin/organization/usage_costs_params.rbi +2 -2
  80. data/rbi/openai/models/batch.rbi +4 -6
  81. data/rbi/openai/models/batch_create_params.rbi +2 -4
  82. data/rbi/openai/models/beta/agents/automation_target_param.rbi +2 -2
  83. data/rbi/openai/models/beta/agents/session_create_params.rbi +2 -2
  84. data/rbi/openai/models/beta/agents/session_update_params.rbi +12 -0
  85. data/rbi/openai/models/beta/beta_compacted_response.rbi +24 -1
  86. data/rbi/openai/models/beta/beta_container_auto.rbi +8 -2
  87. data/rbi/openai/models/beta/beta_response.rbi +11 -13
  88. data/rbi/openai/models/beta/beta_responses_client_event.rbi +11 -13
  89. data/rbi/openai/models/beta/response_compact_params.rbi +19 -9
  90. data/rbi/openai/models/beta/response_create_params.rbi +11 -13
  91. data/rbi/openai/models/chat/chat_completion.rbi +2 -4
  92. data/rbi/openai/models/chat/completion_create_params.rbi +14 -16
  93. data/rbi/openai/models/chat/completion_update_params.rbi +2 -4
  94. data/rbi/openai/models/completion_create_params.rbi +3 -3
  95. data/rbi/openai/models/conversations/conversation_create_params.rbi +12 -4
  96. data/rbi/openai/models/eval_create_params.rbi +2 -4
  97. data/rbi/openai/models/eval_create_response.rbi +5 -9
  98. data/rbi/openai/models/eval_list_response.rbi +5 -9
  99. data/rbi/openai/models/eval_retrieve_response.rbi +5 -9
  100. data/rbi/openai/models/eval_stored_completions_data_source_config.rbi +2 -4
  101. data/rbi/openai/models/eval_update_params.rbi +2 -4
  102. data/rbi/openai/models/eval_update_response.rbi +5 -9
  103. data/rbi/openai/models/evals/create_eval_completions_run_data_source.rbi +6 -8
  104. data/rbi/openai/models/evals/run_cancel_response.rbi +4 -6
  105. data/rbi/openai/models/evals/run_create_params.rbi +4 -6
  106. data/rbi/openai/models/evals/run_create_response.rbi +4 -6
  107. data/rbi/openai/models/evals/run_list_response.rbi +4 -6
  108. data/rbi/openai/models/evals/run_retrieve_response.rbi +4 -6
  109. data/rbi/openai/models/fine_tuning/fine_tuning_job.rbi +2 -4
  110. data/rbi/openai/models/fine_tuning/job_create_params.rbi +8 -6
  111. data/rbi/openai/models/live/fork_server_event.rbi +3 -3
  112. data/rbi/openai/models/live/media_session_config.rbi +15 -16
  113. data/rbi/openai/models/live/responses_delegation_config.rbi +8 -2
  114. data/rbi/openai/models/live/responses_delegation_update_config.rbi +8 -2
  115. data/rbi/openai/models/live/server_event.rbi +3 -3
  116. data/rbi/openai/models/live/sideband_server_event.rbi +3 -3
  117. data/rbi/openai/models/realtime/realtime_audio_config_input.rbi +12 -9
  118. data/rbi/openai/models/realtime/realtime_response.rbi +2 -4
  119. data/rbi/openai/models/realtime/realtime_response_create_params.rbi +2 -4
  120. data/rbi/openai/models/responses/compacted_response.rbi +24 -1
  121. data/rbi/openai/models/responses/container_auto.rbi +8 -2
  122. data/rbi/openai/models/responses/response.rbi +8 -10
  123. data/rbi/openai/models/responses/response_compact_params.rbi +19 -9
  124. data/rbi/openai/models/responses/response_create_params.rbi +8 -10
  125. data/rbi/openai/models/responses/responses_client_event.rbi +8 -10
  126. data/rbi/openai/models/vector_store.rbi +2 -4
  127. data/rbi/openai/models/vector_store_create_params.rbi +2 -4
  128. data/rbi/openai/models/vector_store_update_params.rbi +2 -4
  129. data/rbi/openai/resources/admin/organization/projects/spend_limit.rbi +6 -0
  130. data/rbi/openai/resources/admin/organization/spend_limit.rbi +6 -0
  131. data/rbi/openai/resources/admin/organization/usage.rbi +1 -1
  132. data/rbi/openai/resources/batches.rbi +1 -2
  133. data/rbi/openai/resources/beta/agents/sessions/events.rbi +7 -2
  134. data/rbi/openai/resources/beta/agents/sessions/traces.rbi +4 -2
  135. data/rbi/openai/resources/beta/agents/sessions.rbi +7 -3
  136. data/rbi/openai/resources/beta/responses.rbi +8 -5
  137. data/rbi/openai/resources/chat/completions.rbi +11 -14
  138. data/rbi/openai/resources/completions.rbi +2 -2
  139. data/rbi/openai/resources/conversations.rbi +4 -2
  140. data/rbi/openai/resources/evals/runs.rbi +1 -2
  141. data/rbi/openai/resources/evals.rbi +2 -4
  142. data/rbi/openai/resources/fine_tuning/jobs.rbi +2 -3
  143. data/rbi/openai/resources/responses.rbi +14 -13
  144. data/rbi/openai/resources/vector_stores.rbi +2 -4
  145. data/sig/openai/models/admin/organization/organization_spend_limit.rbs +42 -2
  146. data/sig/openai/models/admin/organization/projects/project_spend_limit.rbs +42 -2
  147. data/sig/openai/models/admin/organization/projects/spend_limit_update_params.rbs +48 -0
  148. data/sig/openai/models/admin/organization/spend_limit_update_params.rbs +48 -0
  149. data/sig/openai/models/admin/organization/usage_costs_params.rbs +3 -3
  150. data/sig/openai/models/batch.rbs +5 -7
  151. data/sig/openai/models/batch_create_params.rbs +2 -4
  152. data/sig/openai/models/beta/agents/automation_target_param.rbs +2 -2
  153. data/sig/openai/models/beta/agents/session_create_params.rbs +2 -2
  154. data/sig/openai/models/beta/agents/session_update_params.rbs +10 -0
  155. data/sig/openai/models/beta/beta_compacted_response.rbs +21 -2
  156. data/sig/openai/models/beta/beta_container_auto.rbs +12 -3
  157. data/sig/openai/models/beta/beta_response.rbs +8 -10
  158. data/sig/openai/models/beta/beta_responses_client_event.rbs +11 -13
  159. data/sig/openai/models/beta/response_compact_params.rbs +14 -6
  160. data/sig/openai/models/beta/response_create_params.rbs +11 -13
  161. data/sig/openai/models/chat/chat_completion.rbs +2 -4
  162. data/sig/openai/models/chat/completion_create_params.rbs +10 -12
  163. data/sig/openai/models/chat/completion_update_params.rbs +2 -4
  164. data/sig/openai/models/completion_create_params.rbs +2 -2
  165. data/sig/openai/models/conversations/conversation_create_params.rbs +10 -4
  166. data/sig/openai/models/eval_create_params.rbs +2 -4
  167. data/sig/openai/models/eval_create_response.rbs +4 -8
  168. data/sig/openai/models/eval_list_response.rbs +4 -8
  169. data/sig/openai/models/eval_retrieve_response.rbs +4 -8
  170. data/sig/openai/models/eval_stored_completions_data_source_config.rbs +2 -4
  171. data/sig/openai/models/eval_update_params.rbs +2 -4
  172. data/sig/openai/models/eval_update_response.rbs +4 -8
  173. data/sig/openai/models/evals/create_eval_completions_run_data_source.rbs +7 -9
  174. data/sig/openai/models/evals/run_cancel_response.rbs +5 -7
  175. data/sig/openai/models/evals/run_create_params.rbs +5 -7
  176. data/sig/openai/models/evals/run_create_response.rbs +5 -7
  177. data/sig/openai/models/evals/run_list_response.rbs +5 -7
  178. data/sig/openai/models/evals/run_retrieve_response.rbs +5 -7
  179. data/sig/openai/models/fine_tuning/fine_tuning_job.rbs +2 -4
  180. data/sig/openai/models/fine_tuning/job_create_params.rbs +6 -6
  181. data/sig/openai/models/live/media_session_config.rbs +21 -21
  182. data/sig/openai/models/live/responses_delegation_config.rbs +8 -2
  183. data/sig/openai/models/live/responses_delegation_update_config.rbs +8 -2
  184. data/sig/openai/models/realtime/realtime_audio_config_input.rbs +12 -9
  185. data/sig/openai/models/realtime/realtime_response.rbs +2 -4
  186. data/sig/openai/models/realtime/realtime_response_create_params.rbs +2 -4
  187. data/sig/openai/models/responses/compacted_response.rbs +21 -2
  188. data/sig/openai/models/responses/container_auto.rbs +12 -3
  189. data/sig/openai/models/responses/response.rbs +8 -10
  190. data/sig/openai/models/responses/response_compact_params.rbs +14 -6
  191. data/sig/openai/models/responses/response_create_params.rbs +11 -13
  192. data/sig/openai/models/responses/responses_client_event.rbs +11 -13
  193. data/sig/openai/models/vector_store.rbs +2 -4
  194. data/sig/openai/models/vector_store_create_params.rbs +2 -4
  195. data/sig/openai/models/vector_store_update_params.rbs +2 -4
  196. data/sig/openai/resources/admin/organization/projects/spend_limit.rbs +1 -0
  197. data/sig/openai/resources/admin/organization/spend_limit.rbs +1 -0
  198. data/sig/openai/resources/beta/agents/sessions.rbs +1 -0
  199. data/sig/openai/resources/beta/responses.rbs +1 -0
  200. data/sig/openai/resources/conversations.rbs +1 -0
  201. data/sig/openai/resources/responses.rbs +1 -0
  202. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 291fb1b7f268b4119850cb9489f3a11a76d5ae4680fbaeaa387a40a12191a6e9
4
- data.tar.gz: b02b722353f66423459b71fdce0e9b25a5636b28c8dae6bd31680486152e07e1
3
+ metadata.gz: cf14cd3fd24c8248523cce4c9f6765bb81c0af4cc6af141f6d5d370f41befd6f
4
+ data.tar.gz: a7c4fe0821533ebe151ca851094ec77b43cc794f5c0c3a306c89ca8bf982d82b
5
5
  SHA512:
6
- metadata.gz: f04407afd6197a013a39444a96f2a17c8a3b0320e4a701a0302385fef01f102f7f83ddce072031dd02c8aaee87ff277541c47647677df952f4925b6db2d1b7ee
7
- data.tar.gz: bf39f28b983417ba51e4d5a3bdcb86a889a9e1e2cefe2ce7ccf47dbed5e6a7416efce1086cab0c3020b1976244e41621297453a9926230f58ecb8a63f47a199e
6
+ metadata.gz: 34e6d3c6f4c69b20b50e926c72fa4dc4138d083fe0d6fcbb6bb9a90afed18f3e312f674a7e68339c58841c389b8bef64d376259fa390a94473e959e6b767abcc
7
+ data.tar.gz: 640d290dfe43be4b53da6f1eb372449ba19784022ad80ebb7229eb1cd31e0ebb0a298adcc01189efa8d7c610730fc4bffe4aeeaeb4458f6dcbcca956157fa5e7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.3.0](https://github.com/openai/openai-ruby/compare/v1.2.0...v1.3.0) (2026-11-26)
4
+
5
+
6
+ ### Features
7
+
8
+ * **api:** add spend alerts and response compaction fields ([#1115](https://github.com/openai/openai-ruby/issues/1115)) ([364d2bb](https://github.com/openai/openai-ruby/commit/364d2bb638ce541e86e8df2ff42438bb53ef72cb))
9
+ * **api:** support updating session vaults ([#1114](https://github.com/openai/openai-ruby/issues/1114)) ([eb69e40](https://github.com/openai/openai-ruby/commit/eb69e40a7cc4ed46ee8fa7733f7c796922060f01))
10
+
11
+
12
+ ### Chores
13
+
14
+ * **api:** clarify message retries ([#1113](https://github.com/openai/openai-ruby/issues/1113)) ([84cebab](https://github.com/openai/openai-ruby/commit/84cebab1ba1265f8284a7248e062af02d952ebd8))
15
+ * **api:** clarify Realtime audio noise reduction ([#1112](https://github.com/openai/openai-ruby/issues/1112)) ([4110d90](https://github.com/openai/openai-ruby/commit/4110d90f8ce18e64f987889ff3c64bc40ed3b0be))
16
+ * **api:** correct metadata documentation ([#1110](https://github.com/openai/openai-ruby/issues/1110)) ([487326b](https://github.com/openai/openai-ruby/commit/487326b1d2fd96c5ac0b12a2472e6518fad650ca))
17
+ * **api:** document inline skill upload limits ([#1095](https://github.com/openai/openai-ruby/issues/1095)) ([782b979](https://github.com/openai/openai-ruby/commit/782b979316cf82d71ce9c547c01edd7e94781b56))
18
+ * **deps:** bump connection_pool from 2.5.5 to 3.0.3 ([#1023](https://github.com/openai/openai-ruby/issues/1023)) ([578c5be](https://github.com/openai/openai-ruby/commit/578c5becfc5de8769d71982b6910f9c88f771026))
19
+ * **deps:** bump the codeql group with 2 updates ([#1111](https://github.com/openai/openai-ruby/issues/1111)) ([98c41a3](https://github.com/openai/openai-ruby/commit/98c41a3e91e1bb4cd70bcfab90cde675a2ee96c9))
20
+
3
21
  ## [1.2.0](https://github.com/openai/openai-ruby/compare/v1.1.0...v1.2.0) (2026-11-24)
4
22
 
5
23
 
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "openai", "~> 1.2.0"
18
+ gem "openai", "~> 1.3.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -37,7 +37,16 @@ module OpenAI
37
37
  # @return [Integer]
38
38
  required :threshold_amount, Integer
39
39
 
40
- # @!method initialize(currency:, enforcement:, interval:, threshold_amount:, object: :"organization.spend_limit")
40
+ # @!attribute notification_channel
41
+ # Email notifications sent when the hard spend limit is reached.
42
+ #
43
+ # @return [OpenAI::Models::Admin::Organization::OrganizationSpendLimit::NotificationChannel, nil]
44
+ optional(
45
+ :notification_channel,
46
+ -> { OpenAI::Admin::Organization::OrganizationSpendLimit::NotificationChannel }
47
+ )
48
+
49
+ # @!method initialize(currency:, enforcement:, interval:, threshold_amount:, notification_channel: nil, object: :"organization.spend_limit")
41
50
  # Represents a hard spend limit configured at the organization level.
42
51
  #
43
52
  # @param currency [String, Symbol, OpenAI::Models::Admin::Organization::OrganizationSpendLimit::Currency]
@@ -53,6 +62,9 @@ module OpenAI
53
62
  # @param threshold_amount [Integer]
54
63
  # The hard spend limit amount, in cents.
55
64
  #
65
+ # @param notification_channel [OpenAI::Models::Admin::Organization::OrganizationSpendLimit::NotificationChannel]
66
+ # Email notifications sent when the hard spend limit is reached.
67
+ #
56
68
  # @param object [Symbol, :"organization.spend_limit"]
57
69
  # The object type, which is always `organization.spend_limit`.
58
70
 
@@ -160,6 +172,31 @@ module OpenAI
160
172
 
161
173
  # @!endgroup
162
174
  end
175
+
176
+ # @see OpenAI::Models::Admin::Organization::OrganizationSpendLimit#notification_channel
177
+ class NotificationChannel < OpenAI::Internal::Type::BaseModel
178
+ # @!attribute recipients
179
+ #
180
+ # @return [Array<String>]
181
+ required :recipients, OpenAI::Internal::Type::ArrayOf[String]
182
+
183
+ # @!attribute type
184
+ #
185
+ # @return [Symbol, :email]
186
+ required :type, const: :email
187
+
188
+ # @!attribute subject_prefix
189
+ #
190
+ # @return [String, nil]
191
+ optional :subject_prefix, String, nil?: true
192
+
193
+ # @!method initialize(recipients:, subject_prefix: nil, type: :email)
194
+ # Email notifications sent when the hard spend limit is reached.
195
+ #
196
+ # @param recipients [Array<String>]
197
+ # @param subject_prefix [String, nil]
198
+ # @param type [Symbol, :email]
199
+ end
163
200
  end
164
201
  end
165
202
 
@@ -38,7 +38,16 @@ module OpenAI
38
38
  # @return [Integer]
39
39
  required :threshold_amount, Integer
40
40
 
41
- # @!method initialize(currency:, enforcement:, interval:, threshold_amount:, object: :"project.spend_limit")
41
+ # @!attribute notification_channel
42
+ # Email notifications sent when the hard spend limit is reached.
43
+ #
44
+ # @return [OpenAI::Models::Admin::Organization::Projects::ProjectSpendLimit::NotificationChannel, nil]
45
+ optional(
46
+ :notification_channel,
47
+ -> { OpenAI::Admin::Organization::Projects::ProjectSpendLimit::NotificationChannel }
48
+ )
49
+
50
+ # @!method initialize(currency:, enforcement:, interval:, threshold_amount:, notification_channel: nil, object: :"project.spend_limit")
42
51
  # Represents a hard spend limit configured at the project level.
43
52
  #
44
53
  # @param currency [String, Symbol, OpenAI::Models::Admin::Organization::Projects::ProjectSpendLimit::Currency]
@@ -54,6 +63,9 @@ module OpenAI
54
63
  # @param threshold_amount [Integer]
55
64
  # The hard spend limit amount, in cents.
56
65
  #
66
+ # @param notification_channel [OpenAI::Models::Admin::Organization::Projects::ProjectSpendLimit::NotificationChannel]
67
+ # Email notifications sent when the hard spend limit is reached.
68
+ #
57
69
  # @param object [Symbol, :"project.spend_limit"]
58
70
  # The object type, which is always `project.spend_limit`.
59
71
 
@@ -167,6 +179,31 @@ module OpenAI
167
179
 
168
180
  # @!endgroup
169
181
  end
182
+
183
+ # @see OpenAI::Models::Admin::Organization::Projects::ProjectSpendLimit#notification_channel
184
+ class NotificationChannel < OpenAI::Internal::Type::BaseModel
185
+ # @!attribute recipients
186
+ #
187
+ # @return [Array<String>]
188
+ required :recipients, OpenAI::Internal::Type::ArrayOf[String]
189
+
190
+ # @!attribute type
191
+ #
192
+ # @return [Symbol, :email]
193
+ required :type, const: :email
194
+
195
+ # @!attribute subject_prefix
196
+ #
197
+ # @return [String, nil]
198
+ optional :subject_prefix, String, nil?: true
199
+
200
+ # @!method initialize(recipients:, subject_prefix: nil, type: :email)
201
+ # Email notifications sent when the hard spend limit is reached.
202
+ #
203
+ # @param recipients [Array<String>]
204
+ # @param subject_prefix [String, nil]
205
+ # @param type [Symbol, :email]
206
+ end
170
207
  end
171
208
  end
172
209
 
@@ -34,7 +34,20 @@ module OpenAI
34
34
  # @return [Integer]
35
35
  required :threshold_amount, Integer
36
36
 
37
- # @!method initialize(project_id:, currency:, interval:, threshold_amount:, request_options: {})
37
+ # @!attribute notification_channel
38
+ # Configure email notifications when the spend limit is reached. Leave this out to
39
+ # keep the current settings, or send null to reset to owner-only notifications.
40
+ #
41
+ # @return [OpenAI::Models::Admin::Organization::Projects::SpendLimitUpdateParams::NotificationChannel, nil]
42
+ optional(
43
+ :notification_channel,
44
+ -> {
45
+ OpenAI::Admin::Organization::Projects::SpendLimitUpdateParams::NotificationChannel
46
+ },
47
+ nil?: true
48
+ )
49
+
50
+ # @!method initialize(project_id:, currency:, interval:, threshold_amount:, notification_channel: nil, request_options: {})
38
51
  # @param project_id [String]
39
52
  #
40
53
  # @param currency [Symbol, OpenAI::Models::Admin::Organization::Projects::SpendLimitUpdateParams::Currency]
@@ -47,6 +60,10 @@ module OpenAI
47
60
  # @param threshold_amount [Integer]
48
61
  # The hard spend limit amount, in cents.
49
62
  #
63
+ # @param notification_channel [OpenAI::Models::Admin::Organization::Projects::SpendLimitUpdateParams::NotificationChannel, nil]
64
+ # Configure email notifications when the spend limit is reached. Leave this out to
65
+ # keep the current settings, or send null to reset to owner-only notifications.
66
+ #
50
67
  # @param request_options [OpenAI::RequestOptions, Hash{Symbol=>Object}]
51
68
 
52
69
  # The currency for the threshold amount. Currently, only `USD` is supported.
@@ -69,6 +86,39 @@ module OpenAI
69
86
  # @!method self.values
70
87
  # @return [Array<Symbol>]
71
88
  end
89
+
90
+ class NotificationChannel < OpenAI::Internal::Type::BaseModel
91
+ # @!attribute type
92
+ #
93
+ # @return [Symbol, :email]
94
+ required :type, const: :email
95
+
96
+ # @!attribute recipients
97
+ # Additional email recipients. Omit to keep them unchanged; send [] to clear them.
98
+ #
99
+ # @return [Array<String>, nil]
100
+ optional :recipients, OpenAI::Internal::Type::ArrayOf[String]
101
+
102
+ # @!attribute subject_prefix
103
+ # Email subject prefix. Omit to keep it unchanged; send null or an empty string to
104
+ # clear it.
105
+ #
106
+ # @return [String, nil]
107
+ optional :subject_prefix, String, nil?: true
108
+
109
+ # @!method initialize(recipients: nil, subject_prefix: nil, type: :email)
110
+ # Configure email notifications when the spend limit is reached. Leave this out to
111
+ # keep the current settings, or send null to reset to owner-only notifications.
112
+ #
113
+ # @param recipients [Array<String>]
114
+ # Additional email recipients. Omit to keep them unchanged; send [] to clear them.
115
+ #
116
+ # @param subject_prefix [String, nil]
117
+ # Email subject prefix. Omit to keep it unchanged; send null or an empty string to
118
+ # clear it.
119
+ #
120
+ # @param type [Symbol, :email]
121
+ end
72
122
  end
73
123
  end
74
124
  end
@@ -28,7 +28,18 @@ module OpenAI
28
28
  # @return [Integer]
29
29
  required :threshold_amount, Integer
30
30
 
31
- # @!method initialize(currency:, interval:, threshold_amount:, request_options: {})
31
+ # @!attribute notification_channel
32
+ # Configure email notifications when the spend limit is reached. Leave this out to
33
+ # keep the current settings, or send null to reset to owner-only notifications.
34
+ #
35
+ # @return [OpenAI::Models::Admin::Organization::SpendLimitUpdateParams::NotificationChannel, nil]
36
+ optional(
37
+ :notification_channel,
38
+ -> { OpenAI::Admin::Organization::SpendLimitUpdateParams::NotificationChannel },
39
+ nil?: true
40
+ )
41
+
42
+ # @!method initialize(currency:, interval:, threshold_amount:, notification_channel: nil, request_options: {})
32
43
  # @param currency [Symbol, OpenAI::Models::Admin::Organization::SpendLimitUpdateParams::Currency]
33
44
  # The currency for the threshold amount. Currently, only `USD` is supported.
34
45
  #
@@ -39,6 +50,10 @@ module OpenAI
39
50
  # @param threshold_amount [Integer]
40
51
  # The hard spend limit amount, in cents.
41
52
  #
53
+ # @param notification_channel [OpenAI::Models::Admin::Organization::SpendLimitUpdateParams::NotificationChannel, nil]
54
+ # Configure email notifications when the spend limit is reached. Leave this out to
55
+ # keep the current settings, or send null to reset to owner-only notifications.
56
+ #
42
57
  # @param request_options [OpenAI::RequestOptions, Hash{Symbol=>Object}]
43
58
 
44
59
  # The currency for the threshold amount. Currently, only `USD` is supported.
@@ -61,6 +76,39 @@ module OpenAI
61
76
  # @!method self.values
62
77
  # @return [Array<Symbol>]
63
78
  end
79
+
80
+ class NotificationChannel < OpenAI::Internal::Type::BaseModel
81
+ # @!attribute type
82
+ #
83
+ # @return [Symbol, :email]
84
+ required :type, const: :email
85
+
86
+ # @!attribute recipients
87
+ # Additional email recipients. Omit to keep them unchanged; send [] to clear them.
88
+ #
89
+ # @return [Array<String>, nil]
90
+ optional :recipients, OpenAI::Internal::Type::ArrayOf[String]
91
+
92
+ # @!attribute subject_prefix
93
+ # Email subject prefix. Omit to keep it unchanged; send null or an empty string to
94
+ # clear it.
95
+ #
96
+ # @return [String, nil]
97
+ optional :subject_prefix, String, nil?: true
98
+
99
+ # @!method initialize(recipients: nil, subject_prefix: nil, type: :email)
100
+ # Configure email notifications when the spend limit is reached. Leave this out to
101
+ # keep the current settings, or send null to reset to owner-only notifications.
102
+ #
103
+ # @param recipients [Array<String>]
104
+ # Additional email recipients. Omit to keep them unchanged; send [] to clear them.
105
+ #
106
+ # @param subject_prefix [String, nil]
107
+ # Email subject prefix. Omit to keep it unchanged; send null or an empty string to
108
+ # clear it.
109
+ #
110
+ # @param type [Symbol, :email]
111
+ end
64
112
  end
65
113
  end
66
114
  end
@@ -58,7 +58,7 @@ module OpenAI
58
58
 
59
59
  # @!attribute line_items
60
60
  # Return only costs for these exact line item names. Each value must match the
61
- # complete `line_item` value, for example `gpt-6-astra, input_tokens`.
61
+ # complete `line_item` value, for example `gpt-6.2-astra, input_tokens`.
62
62
  #
63
63
  # @return [Array<String>, nil]
64
64
  optional :line_items, OpenAI::Internal::Type::ArrayOf[String]
@@ -105,7 +105,7 @@ module OpenAI
105
105
  #
106
106
  # @param line_items [Array<String>]
107
107
  # Return only costs for these exact line item names. Each value must match the
108
- # complete `line_item` value, for example `gpt-6-astra, input_tokens`.
108
+ # complete `line_item` value, for example `gpt-6.2-astra, input_tokens`.
109
109
  #
110
110
  # @param page [String]
111
111
  # A cursor for use in pagination. Corresponding to the `next_page` field from the
@@ -106,8 +106,7 @@ module OpenAI
106
106
 
107
107
  # @!attribute metadata
108
108
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
109
- # for storing additional information about the object in a structured format, and
110
- # querying for objects via API or the dashboard.
109
+ # for storing additional information about the object in a structured format.
111
110
  #
112
111
  # Keys are strings with a maximum length of 64 characters. Values are strings with
113
112
  # a maximum length of 512 characters.
@@ -116,7 +115,7 @@ module OpenAI
116
115
  optional :metadata, OpenAI::Internal::Type::HashOf[String], nil?: true
117
116
 
118
117
  # @!attribute model
119
- # Model ID used to process the batch, like `gpt-6-astra`. OpenAI offers a wide
118
+ # Model ID used to process the batch, like `gpt-6.2-astra`. OpenAI offers a wide
120
119
  # range of models with different capabilities, performance characteristics, and
121
120
  # price points. Refer to the
122
121
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
@@ -194,14 +193,13 @@ module OpenAI
194
193
  #
195
194
  # @param metadata [Hash{Symbol=>String}, nil]
196
195
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
197
- # for storing additional information about the object in a structured format, and
198
- # querying for objects via API or the dashboard.
196
+ # for storing additional information about the object in a structured format.
199
197
  #
200
198
  # Keys are strings with a maximum length of 64 characters. Values are strings with
201
199
  # a maximum length of 512 characters.
202
200
  #
203
201
  # @param model [String]
204
- # Model ID used to process the batch, like `gpt-6-astra`. OpenAI offers a wide
202
+ # Model ID used to process the batch, like `gpt-6.2-astra`. OpenAI offers a wide
205
203
  # range of models with different capabilities, performance characteristics, and
206
204
  # price points. Refer to the
207
205
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
@@ -38,8 +38,7 @@ module OpenAI
38
38
 
39
39
  # @!attribute metadata
40
40
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
41
- # for storing additional information about the object in a structured format, and
42
- # querying for objects via API or the dashboard.
41
+ # for storing additional information about the object in a structured format.
43
42
  #
44
43
  # Keys are strings with a maximum length of 64 characters. Values are strings with
45
44
  # a maximum length of 512 characters.
@@ -77,8 +76,7 @@ module OpenAI
77
76
  #
78
77
  # @param metadata [Hash{Symbol=>String}, nil]
79
78
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
80
- # for storing additional information about the object in a structured format, and
81
- # querying for objects via API or the dashboard.
79
+ # for storing additional information about the object in a structured format.
82
80
  #
83
81
  # Keys are strings with a maximum length of 64 characters. Values are strings with
84
82
  # a maximum length of 512 characters.
@@ -152,7 +152,7 @@ module OpenAI
152
152
 
153
153
  # @!attribute tools
154
154
  # Tools available to the agent. Omit to inherit, or pass null to clear them. The
155
- # resolved tool list must fit within 3 MiB (3,145,728 bytes) of compact UTF-8
155
+ # resolved tool list must fit within 8 MiB (8,388,608 bytes) of compact UTF-8
156
156
  # JSON.
157
157
  #
158
158
  # @return [Array<OpenAI::Models::Beta::AgentToolParam::Function, OpenAI::Models::Beta::AgentToolParam::ToolSearch, OpenAI::Models::Beta::AgentToolParam::ProgrammaticToolCalling, OpenAI::Models::Beta::AgentToolParam::Mcp, OpenAI::Models::Beta::AgentToolParam::WebSearch, OpenAI::Models::Beta::AgentToolParam::ComputerUse, OpenAI::Models::Beta::AgentToolParam::Automations>, nil]
@@ -197,7 +197,7 @@ module OpenAI
197
197
  #
198
198
  # @param tools [Array<OpenAI::Models::Beta::AgentToolParam::Function, OpenAI::Models::Beta::AgentToolParam::ToolSearch, OpenAI::Models::Beta::AgentToolParam::ProgrammaticToolCalling, OpenAI::Models::Beta::AgentToolParam::Mcp, OpenAI::Models::Beta::AgentToolParam::WebSearch, OpenAI::Models::Beta::AgentToolParam::ComputerUse, OpenAI::Models::Beta::AgentToolParam::Automations>, nil]
199
199
  # Tools available to the agent. Omit to inherit, or pass null to clear them. The
200
- # resolved tool list must fit within 3 MiB (3,145,728 bytes) of compact UTF-8
200
+ # resolved tool list must fit within 8 MiB (8,388,608 bytes) of compact UTF-8
201
201
  # JSON.
202
202
 
203
203
  # @see OpenAI::Models::Beta::Agents::AutomationTargetParam::NewSession::Agent#compaction
@@ -195,7 +195,7 @@ module OpenAI
195
195
 
196
196
  # @!attribute tools
197
197
  # Tools available to the agent. Omit to inherit, or pass null to clear them. The
198
- # resolved tool list must fit within 3 MiB (3,145,728 bytes) of compact UTF-8
198
+ # resolved tool list must fit within 8 MiB (8,388,608 bytes) of compact UTF-8
199
199
  # JSON.
200
200
  #
201
201
  # @return [Array<OpenAI::Models::Beta::AgentToolParam::Function, OpenAI::Models::Beta::AgentToolParam::ToolSearch, OpenAI::Models::Beta::AgentToolParam::ProgrammaticToolCalling, OpenAI::Models::Beta::AgentToolParam::Mcp, OpenAI::Models::Beta::AgentToolParam::WebSearch, OpenAI::Models::Beta::AgentToolParam::ComputerUse, OpenAI::Models::Beta::AgentToolParam::Automations>, nil]
@@ -241,7 +241,7 @@ module OpenAI
241
241
  #
242
242
  # @param tools [Array<OpenAI::Models::Beta::AgentToolParam::Function, OpenAI::Models::Beta::AgentToolParam::ToolSearch, OpenAI::Models::Beta::AgentToolParam::ProgrammaticToolCalling, OpenAI::Models::Beta::AgentToolParam::Mcp, OpenAI::Models::Beta::AgentToolParam::WebSearch, OpenAI::Models::Beta::AgentToolParam::ComputerUse, OpenAI::Models::Beta::AgentToolParam::Automations>, nil]
243
243
  # Tools available to the agent. Omit to inherit, or pass null to clear them. The
244
- # resolved tool list must fit within 3 MiB (3,145,728 bytes) of compact UTF-8
244
+ # resolved tool list must fit within 8 MiB (8,388,608 bytes) of compact UTF-8
245
245
  # JSON.
246
246
 
247
247
  # @see OpenAI::Models::Beta::Agents::SessionCreateParams::Agent#compaction
@@ -59,7 +59,14 @@ module OpenAI
59
59
  nil?: true
60
60
  )
61
61
 
62
- # @!method initialize(session_id:, agent: nil, metadata: nil, prompt_cache_options: nil, review: nil, spend_control: nil, request_options: {})
62
+ # @!attribute vault_ids
63
+ # Replaces the session's referenced vaults. Omit to retain them; null or [] clears
64
+ # them.
65
+ #
66
+ # @return [Array<String>, nil]
67
+ optional :vault_ids, OpenAI::Internal::Type::ArrayOf[String], nil?: true
68
+
69
+ # @!method initialize(session_id:, agent: nil, metadata: nil, prompt_cache_options: nil, review: nil, spend_control: nil, vault_ids: nil, request_options: {})
63
70
  # @param session_id [String]
64
71
  #
65
72
  # @param agent [OpenAI::Models::Beta::Agents::SessionUpdateParams::Agent]
@@ -82,6 +89,10 @@ module OpenAI
82
89
  # Omit to retain the limit; null or a null limit removes it without resetting
83
90
  # spend.
84
91
  #
92
+ # @param vault_ids [Array<String>, nil]
93
+ # Replaces the session's referenced vaults. Omit to retain them; null or [] clears
94
+ # them.
95
+ #
85
96
  # @param request_options [OpenAI::RequestOptions, Hash{Symbol=>Object}]
86
97
 
87
98
  class Agent < OpenAI::Internal::Type::BaseModel
@@ -42,7 +42,19 @@ module OpenAI
42
42
  # @return [OpenAI::Models::Beta::BetaCompactedResponse::Image, nil]
43
43
  optional :image, -> { OpenAI::Beta::BetaCompactedResponse::Image }
44
44
 
45
- # @!method initialize(id:, created_at:, output:, usage:, image: nil, object: :"response.compaction")
45
+ # @!attribute safety_identifier
46
+ # A stable identifier that was used for safety monitoring and abuse detection.
47
+ #
48
+ # @return [String, nil]
49
+ optional :safety_identifier, String, nil?: true
50
+
51
+ # @!attribute service_tier
52
+ # The service tier used for compaction, when reported.
53
+ #
54
+ # @return [String, nil]
55
+ optional :service_tier, String
56
+
57
+ # @!method initialize(id:, created_at:, output:, usage:, image: nil, safety_identifier: nil, service_tier: nil, object: :"response.compaction")
46
58
  # @param id [String]
47
59
  # The unique identifier for the compacted response.
48
60
  #
@@ -59,6 +71,12 @@ module OpenAI
59
71
  #
60
72
  # @param image [OpenAI::Models::Beta::BetaCompactedResponse::Image]
61
73
  #
74
+ # @param safety_identifier [String, nil]
75
+ # A stable identifier that was used for safety monitoring and abuse detection.
76
+ #
77
+ # @param service_tier [String]
78
+ # The service tier used for compaction, when reported.
79
+ #
62
80
  # @param object [Symbol, :"response.compaction"]
63
81
  # The object type. Always `response.compaction`.
64
82
 
@@ -29,7 +29,10 @@ module OpenAI
29
29
  optional :network_policy, union: -> { OpenAI::Beta::BetaContainerAuto::NetworkPolicy }
30
30
 
31
31
  # @!attribute skills
32
- # An optional list of skills referenced by id or inline data.
32
+ # An optional list of skills referenced by id or inline data. Across all inline
33
+ # skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text
34
+ # must total at most 70,254,592 characters, including line breaks. Skill
35
+ # references do not count toward these limits.
33
36
  #
34
37
  # @return [Array<OpenAI::Models::Beta::BetaSkillReference, OpenAI::Models::Beta::BetaInlineSkill>, nil]
35
38
  optional :skills, -> { OpenAI::Internal::Type::ArrayOf[union: OpenAI::Beta::BetaContainerAuto::Skill] }
@@ -45,7 +48,10 @@ module OpenAI
45
48
  # Network access policy for the container.
46
49
  #
47
50
  # @param skills [Array<OpenAI::Models::Beta::BetaSkillReference, OpenAI::Models::Beta::BetaInlineSkill>]
48
- # An optional list of skills referenced by id or inline data.
51
+ # An optional list of skills referenced by id or inline data. Across all inline
52
+ # skills in this list, decoded ZIP data must total at most 50 MiB and Base64 text
53
+ # must total at most 70,254,592 characters, including line breaks. Skill
54
+ # references do not count toward these limits.
49
55
  #
50
56
  # @param type [Symbol, :container_auto]
51
57
  # Automatically creates a container for this request
@@ -48,8 +48,7 @@ module OpenAI
48
48
 
49
49
  # @!attribute metadata
50
50
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
51
- # for storing additional information about the object in a structured format, and
52
- # querying for objects via API or the dashboard.
51
+ # for storing additional information about the object in a structured format.
53
52
  #
54
53
  # Keys are strings with a maximum length of 64 characters. Values are strings with
55
54
  # a maximum length of 512 characters.
@@ -58,9 +57,9 @@ module OpenAI
58
57
  required :metadata, OpenAI::Internal::Type::HashOf[String], nil?: true
59
58
 
60
59
  # @!attribute model
61
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
62
- # range of models with different capabilities, performance characteristics, and
63
- # price points. Refer to the
60
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
61
+ # wide range of models with different capabilities, performance characteristics,
62
+ # and price points. Refer to the
64
63
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
65
64
  # compare available models.
66
65
  #
@@ -415,16 +414,15 @@ module OpenAI
415
414
  #
416
415
  # @param metadata [Hash{Symbol=>String}, nil]
417
416
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
418
- # for storing additional information about the object in a structured format, and
419
- # querying for objects via API or the dashboard.
417
+ # for storing additional information about the object in a structured format.
420
418
  #
421
419
  # Keys are strings with a maximum length of 64 characters. Values are strings with
422
420
  # a maximum length of 512 characters.
423
421
  #
424
422
  # @param model [Symbol, String, OpenAI::Models::Beta::BetaResponse::Model]
425
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
426
- # range of models with different capabilities, performance characteristics, and
427
- # price points. Refer to the
423
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
424
+ # wide range of models with different capabilities, performance characteristics,
425
+ # and price points. Refer to the
428
426
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
429
427
  # compare available models.
430
428
  #
@@ -738,9 +736,9 @@ module OpenAI
738
736
  ]
739
737
  end
740
738
 
741
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
742
- # range of models with different capabilities, performance characteristics, and
743
- # price points. Refer to the
739
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
740
+ # wide range of models with different capabilities, performance characteristics,
741
+ # and price points. Refer to the
744
742
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
745
743
  # compare available models.
746
744
  #
@@ -194,8 +194,7 @@ module OpenAI
194
194
 
195
195
  # @!attribute metadata
196
196
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
197
- # for storing additional information about the object in a structured format, and
198
- # querying for objects via API or the dashboard.
197
+ # for storing additional information about the object in a structured format.
199
198
  #
200
199
  # Keys are strings with a maximum length of 64 characters. Values are strings with
201
200
  # a maximum length of 512 characters.
@@ -204,9 +203,9 @@ module OpenAI
204
203
  optional :metadata, OpenAI::Internal::Type::HashOf[String], nil?: true
205
204
 
206
205
  # @!attribute model
207
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
208
- # range of models with different capabilities, performance characteristics, and
209
- # price points. Refer to the
206
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
207
+ # wide range of models with different capabilities, performance characteristics,
208
+ # and price points. Refer to the
210
209
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
211
210
  # compare available models.
212
211
  #
@@ -600,16 +599,15 @@ module OpenAI
600
599
  #
601
600
  # @param metadata [Hash{Symbol=>String}, nil]
602
601
  # Set of 16 key-value pairs that can be attached to an object. This can be useful
603
- # for storing additional information about the object in a structured format, and
604
- # querying for objects via API or the dashboard.
602
+ # for storing additional information about the object in a structured format.
605
603
  #
606
604
  # Keys are strings with a maximum length of 64 characters. Values are strings with
607
605
  # a maximum length of 512 characters.
608
606
  #
609
607
  # @param model [Symbol, String, OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::Model]
610
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
611
- # range of models with different capabilities, performance characteristics, and
612
- # price points. Refer to the
608
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
609
+ # wide range of models with different capabilities, performance characteristics,
610
+ # and price points. Refer to the
613
611
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
614
612
  # compare available models.
615
613
  #
@@ -1015,9 +1013,9 @@ module OpenAI
1015
1013
  # @return [Array(String, Array<OpenAI::Models::Beta::BetaEasyInputMessage, OpenAI::Models::Beta::BetaResponseInputItem::Message, OpenAI::Models::Beta::BetaResponseOutputMessage, OpenAI::Models::Beta::BetaResponseFileSearchToolCall, OpenAI::Models::Beta::BetaResponseComputerToolCall, OpenAI::Models::Beta::BetaResponseInputItem::ComputerCallOutput, OpenAI::Models::Beta::BetaResponseFunctionWebSearch, OpenAI::Models::Beta::BetaResponseFunctionToolCall, OpenAI::Models::Beta::BetaResponseInputItem::FunctionCallOutput, OpenAI::Models::Beta::BetaResponseInputItem::AgentMessage, OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCall, OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput, OpenAI::Models::Beta::BetaResponseInputItem::ToolSearchCall, OpenAI::Models::Beta::BetaResponseToolSearchOutputItemParam, OpenAI::Models::Beta::BetaResponseInputItem::AdditionalTools, OpenAI::Models::Beta::BetaResponseConfigurationUpdateItemParam, OpenAI::Models::Beta::BetaResponseReasoningItem, OpenAI::Models::Beta::BetaResponseCompactionItemParam, OpenAI::Models::Beta::BetaResponseInputItem::ImageGenerationCall, OpenAI::Models::Beta::BetaResponseCodeInterpreterToolCall, OpenAI::Models::Beta::BetaResponseInputItem::LocalShellCall, OpenAI::Models::Beta::BetaResponseInputItem::LocalShellCallOutput, OpenAI::Models::Beta::BetaResponseInputItem::ShellCall, OpenAI::Models::Beta::BetaResponseInputItem::ShellCallOutput, OpenAI::Models::Beta::BetaResponseInputItem::ApplyPatchCall, OpenAI::Models::Beta::BetaResponseInputItem::ApplyPatchCallOutput, OpenAI::Models::Beta::BetaResponseInputItem::McpListTools, OpenAI::Models::Beta::BetaResponseInputItem::McpApprovalRequest, OpenAI::Models::Beta::BetaResponseInputItem::McpApprovalResponse, OpenAI::Models::Beta::BetaResponseInputItem::McpCall, OpenAI::Models::Beta::BetaResponseCustomToolCallOutput, OpenAI::Models::Beta::BetaResponseCustomToolCall, OpenAI::Models::Beta::BetaResponseInputItem::CompactionTrigger, OpenAI::Models::Beta::BetaResponseInputItem::ItemReference, OpenAI::Models::Beta::BetaResponseInputItem::Program, OpenAI::Models::Beta::BetaResponseInputItem::ProgramOutput>)]
1016
1014
  end
1017
1015
 
1018
- # Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide
1019
- # range of models with different capabilities, performance characteristics, and
1020
- # price points. Refer to the
1016
+ # Model ID used to generate the response, like `gpt-6.2-astra`. OpenAI offers a
1017
+ # wide range of models with different capabilities, performance characteristics,
1018
+ # and price points. Refer to the
1021
1019
  # [model guide](https://developers.openai.com/api/docs/models) to browse and
1022
1020
  # compare available models.
1023
1021
  #