openai 0.49.0 → 0.49.1
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 +20 -0
- data/README.md +1 -1
- data/lib/openai/models/chat/completion_create_params.rb +3 -2
- data/lib/openai/models/responses/response.rb +3 -2
- data/lib/openai/models/responses/response_create_params.rb +3 -2
- data/lib/openai/models/responses/responses_client_event.rb +590 -0
- data/lib/openai/models/responses/responses_server_event.rb +201 -0
- data/lib/openai/models/vector_stores/file_batch_create_params.rb +4 -2
- data/lib/openai/resources/audio/speech.rb +2 -0
- data/lib/openai/resources/audio/transcriptions.rb +6 -0
- data/lib/openai/resources/beta/chatkit/sessions.rb +4 -2
- data/lib/openai/resources/beta/chatkit/threads.rb +4 -4
- data/lib/openai/resources/chat/completions.rb +6 -0
- data/lib/openai/resources/completions.rb +6 -0
- data/lib/openai/resources/realtime/client_secrets.rb +14 -0
- data/lib/openai/resources/responses/input_tokens.rb +4 -1
- data/lib/openai/resources/responses.rb +6 -1
- data/lib/openai/resources/skills/content.rb +1 -1
- data/lib/openai/resources/skills/versions/content.rb +1 -1
- data/lib/openai/resources/skills/versions.rb +4 -4
- data/lib/openai/resources/skills.rb +5 -5
- data/lib/openai/resources/uploads.rb +7 -1
- data/lib/openai/resources/videos.rb +8 -6
- data/lib/openai/version.rb +1 -1
- data/lib/openai.rb +2 -0
- data/rbi/openai/models/chat/completion_create_params.rbi +6 -4
- data/rbi/openai/models/responses/response.rbi +6 -4
- data/rbi/openai/models/responses/response_create_params.rbi +6 -4
- data/rbi/openai/models/responses/responses_client_event.rbi +1122 -0
- data/rbi/openai/models/responses/responses_server_event.rbi +79 -0
- data/rbi/openai/models/vector_stores/file_batch_create_params.rbi +8 -4
- data/rbi/openai/resources/audio/speech.rbi +2 -0
- data/rbi/openai/resources/audio/transcriptions.rbi +6 -0
- data/rbi/openai/resources/beta/chatkit/sessions.rbi +4 -2
- data/rbi/openai/resources/beta/chatkit/threads.rbi +4 -4
- data/rbi/openai/resources/chat/completions.rbi +12 -4
- data/rbi/openai/resources/completions.rbi +6 -0
- data/rbi/openai/resources/realtime/client_secrets.rbi +14 -0
- data/rbi/openai/resources/responses/input_tokens.rbi +4 -1
- data/rbi/openai/resources/responses.rbi +12 -5
- data/rbi/openai/resources/skills/content.rbi +1 -1
- data/rbi/openai/resources/skills/versions/content.rbi +1 -1
- data/rbi/openai/resources/skills/versions.rbi +4 -4
- data/rbi/openai/resources/skills.rbi +5 -5
- data/rbi/openai/resources/uploads.rbi +7 -1
- data/rbi/openai/resources/vector_stores/file_batches.rbi +4 -2
- data/rbi/openai/resources/videos.rbi +8 -6
- data/sig/openai/models/responses/responses_client_event.rbs +286 -0
- data/sig/openai/models/responses/responses_server_event.rbs +66 -0
- metadata +8 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2f34d18042a6ab2826128026a9c7fb5bd1a93abf9ee6c475a5d168560094677b
|
|
4
|
+
data.tar.gz: aa73e8a5f85adfd6b5b6436cfc02cb07d8dea6443a74cf8b755b4298991176b4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8910aed1db556d26ba8372b674c799936dd12f30c4c00d7c2ca3bbd09fd2df5743e33fae034087d81cfa239ebfe2b0f12821e3884b019c8c6609179489daceeb
|
|
7
|
+
data.tar.gz: 8aeabebae2ca9742924adf7dc71037da21ad33b713c0e0c0773f9dcd58b46afa49de0c05fd4dfb636442aa73c357583225e2ee3539396437a0db4680066f6760
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.49.1 (2026-02-23)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.49.0...v0.49.1](https://github.com/openai/openai-ruby/compare/v0.49.0...v0.49.1)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **api:** manual updates ([6d59acd](https://github.com/openai/openai-ruby/commit/6d59acd6875dad00aa7abefc9b8629e68d4068ff))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Chores
|
|
13
|
+
|
|
14
|
+
* update mock server docs ([4ab9773](https://github.com/openai/openai-ruby/commit/4ab97731fd3d59dde01eae01ad6b09b962475724))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Documentation
|
|
18
|
+
|
|
19
|
+
* **api:** add batch size limit to vector_stores file_batch_create_params ([f8f915b](https://github.com/openai/openai-ruby/commit/f8f915b791433e804256e27e76d48f61fefd0aa3))
|
|
20
|
+
* **api:** add length limit to safety_identifier in chat/responses ([f76fd6f](https://github.com/openai/openai-ruby/commit/f76fd6fd8ac3c4d63199e71fcfd9ae20bd9050d0))
|
|
21
|
+
* **api:** enhance method descriptions and return value docs across resources ([6ac3366](https://github.com/openai/openai-ruby/commit/6ac336621101468f74758c5b7eff56a8b14cb69d))
|
|
22
|
+
|
|
3
23
|
## 0.49.0 (2026-02-13)
|
|
4
24
|
|
|
5
25
|
Full Changelog: [v0.48.0...v0.49.0](https://github.com/openai/openai-ruby/compare/v0.48.0...v0.49.0)
|
data/README.md
CHANGED
|
@@ -237,8 +237,9 @@ module OpenAI
|
|
|
237
237
|
# @!attribute safety_identifier
|
|
238
238
|
# A stable identifier used to help detect users of your application that may be
|
|
239
239
|
# violating OpenAI's usage policies. The IDs should be a string that uniquely
|
|
240
|
-
# identifies each user
|
|
241
|
-
# order to avoid sending us any
|
|
240
|
+
# identifies each user, with a maximum length of 64 characters. We recommend
|
|
241
|
+
# hashing their username or email address, in order to avoid sending us any
|
|
242
|
+
# identifying information.
|
|
242
243
|
# [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers).
|
|
243
244
|
#
|
|
244
245
|
# @return [String, nil]
|
|
@@ -222,8 +222,9 @@ module OpenAI
|
|
|
222
222
|
# @!attribute safety_identifier
|
|
223
223
|
# A stable identifier used to help detect users of your application that may be
|
|
224
224
|
# violating OpenAI's usage policies. The IDs should be a string that uniquely
|
|
225
|
-
# identifies each user
|
|
226
|
-
# order to avoid sending us any
|
|
225
|
+
# identifies each user, with a maximum length of 64 characters. We recommend
|
|
226
|
+
# hashing their username or email address, in order to avoid sending us any
|
|
227
|
+
# identifying information.
|
|
227
228
|
# [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers).
|
|
228
229
|
#
|
|
229
230
|
# @return [String, nil]
|
|
@@ -180,8 +180,9 @@ module OpenAI
|
|
|
180
180
|
# @!attribute safety_identifier
|
|
181
181
|
# A stable identifier used to help detect users of your application that may be
|
|
182
182
|
# violating OpenAI's usage policies. The IDs should be a string that uniquely
|
|
183
|
-
# identifies each user
|
|
184
|
-
# order to avoid sending us any
|
|
183
|
+
# identifies each user, with a maximum length of 64 characters. We recommend
|
|
184
|
+
# hashing their username or email address, in order to avoid sending us any
|
|
185
|
+
# identifying information.
|
|
185
186
|
# [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers).
|
|
186
187
|
#
|
|
187
188
|
# @return [String, nil]
|