openai 0.25.1 → 0.27.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/helpers/streaming/chat_completion_stream.rb +683 -0
- data/lib/openai/helpers/streaming/chat_events.rb +181 -0
- data/lib/openai/helpers/streaming/exceptions.rb +29 -0
- data/lib/openai/helpers/streaming/response_stream.rb +0 -2
- data/lib/openai/internal/util.rb +2 -1
- data/lib/openai/models/all_models.rb +1 -0
- data/lib/openai/models/chat/parsed_chat_completion.rb +15 -0
- data/lib/openai/models/responses_model.rb +1 -0
- data/lib/openai/resources/chat/completions.rb +78 -37
- data/lib/openai/resources/responses.rb +1 -1
- data/lib/openai/version.rb +1 -1
- data/lib/openai.rb +5 -1
- data/rbi/openai/helpers/streaming/events.rbi +120 -0
- data/rbi/openai/models/all_models.rbi +5 -0
- data/rbi/openai/models/responses_model.rbi +5 -0
- data/rbi/openai/streaming.rbi +28 -1
- data/sig/openai/models/all_models.rbs +2 -0
- data/sig/openai/models/responses_model.rbs +2 -0
- metadata +7 -3
- /data/lib/openai/helpers/streaming/{events.rb → response_events.rb} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bae9059a58e735637f77e8f67206ae5461c0a9b1644dae426b5ecdc783f9856b
|
4
|
+
data.tar.gz: 2b0724ad0cc6348a15db3d6d305cc451bb289ec7d8af9f8375d97fa884be4acc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b93a9f4249988394f4d90dd36c1f161eea365978ad6b83d3e9e9ecd8579d10f5f0ac26320a5f698dc2174755553ab0048e33602992c3d213c26e5f97d7b2adf9
|
7
|
+
data.tar.gz: dbe13a678f0617a93002ab5f14ca13b2f1305083ac2b5ecc3982d1afa925698dd41673b1bade182d6287e4558177b26e75b465af3d382111d0a640687c30dbb4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,37 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.27.0 (2025-09-26)
|
4
|
+
|
5
|
+
Full Changelog: [v0.26.0...v0.27.0](https://github.com/openai/openai-ruby/compare/v0.26.0...v0.27.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* chat completion streaming helpers ([#828](https://github.com/openai/openai-ruby/issues/828)) ([6e98424](https://github.com/openai/openai-ruby/commit/6e9842485e819876dd6b78107fa45f1a5da67e4f))
|
10
|
+
|
11
|
+
|
12
|
+
### Bug Fixes
|
13
|
+
|
14
|
+
* **internal:** use null byte as file separator in the fast formatting script ([151ffe1](https://github.com/openai/openai-ruby/commit/151ffe10c9dc8d5edaf46de2a1c6b6e6fda80034))
|
15
|
+
* shorten multipart boundary sep to less than RFC specificed max length ([d7770d1](https://github.com/openai/openai-ruby/commit/d7770d10ee3b093d8e2464b79e0e12be3a9d2beb))
|
16
|
+
|
17
|
+
|
18
|
+
### Performance Improvements
|
19
|
+
|
20
|
+
* faster code formatting ([67da711](https://github.com/openai/openai-ruby/commit/67da71139e5b572c97539299c39bae04c1d569fd))
|
21
|
+
|
22
|
+
|
23
|
+
### Chores
|
24
|
+
|
25
|
+
* allow fast-format to use bsd sed as well ([66ac913](https://github.com/openai/openai-ruby/commit/66ac913d195d8b5a5c4474ded88a5f9dad13b7b6))
|
26
|
+
|
27
|
+
## 0.26.0 (2025-09-23)
|
28
|
+
|
29
|
+
Full Changelog: [v0.25.1...v0.26.0](https://github.com/openai/openai-ruby/compare/v0.25.1...v0.26.0)
|
30
|
+
|
31
|
+
### Features
|
32
|
+
|
33
|
+
* **api:** gpt-5-codex ([6c9b9b5](https://github.com/openai/openai-ruby/commit/6c9b9b58dabc56fbe9ac871517f837a662c6c237))
|
34
|
+
|
3
35
|
## 0.25.1 (2025-09-22)
|
4
36
|
|
5
37
|
Full Changelog: [v0.25.0...v0.25.1](https://github.com/openai/openai-ruby/compare/v0.25.0...v0.25.1)
|
data/README.md
CHANGED