openai 0.75.0 → 0.77.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 (37) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +20 -0
  3. data/README.md +8 -7
  4. data/VERSIONING.md +77 -0
  5. data/lib/openai/internal/type/base_stream.rb +1 -1
  6. data/lib/openai/models/beta/beta_response.rb +3 -0
  7. data/lib/openai/models/beta/beta_response_function_tool_call_output_item.rb +17 -1
  8. data/lib/openai/models/beta/beta_response_input_item.rb +17 -1
  9. data/lib/openai/models/beta/beta_responses_client_event.rb +3 -0
  10. data/lib/openai/models/beta/response_compact_params.rb +3 -0
  11. data/lib/openai/models/beta/response_create_params.rb +3 -0
  12. data/lib/openai/models/chat_model.rb +1 -0
  13. data/lib/openai/models/responses/response_compact_params.rb +3 -0
  14. data/lib/openai/models/responses/response_function_tool_call_output_item.rb +17 -1
  15. data/lib/openai/models/responses/response_input_item.rb +17 -1
  16. data/lib/openai/version.rb +1 -1
  17. data/rbi/openai/models/beta/beta_response.rbi +2 -0
  18. data/rbi/openai/models/beta/beta_response_function_tool_call_output_item.rbi +23 -1
  19. data/rbi/openai/models/beta/beta_response_input_item.rbi +16 -0
  20. data/rbi/openai/models/beta/beta_responses_client_event.rbi +5 -0
  21. data/rbi/openai/models/beta/response_compact_params.rbi +5 -0
  22. data/rbi/openai/models/beta/response_create_params.rbi +5 -0
  23. data/rbi/openai/models/chat_model.rbi +1 -0
  24. data/rbi/openai/models/responses/response_compact_params.rbi +5 -0
  25. data/rbi/openai/models/responses/response_function_tool_call_output_item.rbi +23 -1
  26. data/rbi/openai/models/responses/response_input_item.rbi +16 -0
  27. data/sig/openai/models/beta/beta_response.rbs +2 -0
  28. data/sig/openai/models/beta/beta_response_function_tool_call_output_item.rbs +16 -2
  29. data/sig/openai/models/beta/beta_response_input_item.rbs +10 -0
  30. data/sig/openai/models/beta/beta_responses_client_event.rbs +2 -0
  31. data/sig/openai/models/beta/response_compact_params.rbs +2 -0
  32. data/sig/openai/models/beta/response_create_params.rbs +2 -0
  33. data/sig/openai/models/chat_model.rbs +2 -0
  34. data/sig/openai/models/responses/response_compact_params.rbs +2 -0
  35. data/sig/openai/models/responses/response_function_tool_call_output_item.rbs +16 -2
  36. data/sig/openai/models/responses/response_input_item.rbs +10 -0
  37. metadata +6 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f37ed6a1d2d71172c0518b0084e33f43eccb810d556234a8a94a6b2436fe481
4
- data.tar.gz: 4e5d4364cf54131f78c0d7ed39b699a55b4b87a9354a5ea46336157afdf097ff
3
+ metadata.gz: 5000670305cff69185cbe0dff3631e86d5be3445740eb25fb31c56f00690d485
4
+ data.tar.gz: 6ec924198ee603d505973d07f1202800b24ca12d33ce0c65c448c5a7e653f372
5
5
  SHA512:
6
- metadata.gz: 38784a4f8a73c2d4c0d1126e6f88d47649879f18835c24a6c2411efcca52cbc84211cfbb19e45524aca10c3c9951f1b7ee8fa736d16811325577e791e85ed3ef
7
- data.tar.gz: a391891d80016f08701d8906cf3800adf32ca3966af91eec7636fe59884edaf46532056a40cfffb66a56f6138c264efd2f7e15d5b6cf2b0f64ace1ead0d56dc7
6
+ metadata.gz: 322f191841730ec1253aea6c82b511932279f7bbc835575b3f7377deb72a06fbedcdec64d730db2a4492ebcc1da26beded76cd06a7b8f50b61ae6bb3f92ede08
7
+ data.tar.gz: 95fe84de3c5ed10c63d71f127271794a7f0bb291c58d72b384d0f316840c58d6719a875b19f42d8e744c12970ac1770385607df33dad638ca7f3ee9346bee8d1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.77.0](https://github.com/openai/openai-ruby/compare/v0.76.0...v0.77.0) (2026-08-03)
4
+
5
+
6
+ ### Features
7
+
8
+ * **api:** promote Ruby SDK changes ([#326](https://github.com/openai/openai-ruby/issues/326)) ([d46c2e3](https://github.com/openai/openai-ruby/commit/d46c2e336f3c839cdd491c36d2b823ad47b49c88))
9
+
10
+ ## 0.76.0 (2026-07-31)
11
+
12
+ Full Changelog: [v0.75.0...v0.76.0](https://github.com/openai/openai-ruby/compare/v0.75.0...v0.76.0)
13
+
14
+ ### Features
15
+
16
+ * require Ruby 3.3 or newer ([#322](https://github.com/openai/openai-ruby/issues/322)) ([f40aef1](https://github.com/openai/openai-ruby/commit/f40aef1892a4ebafaf4c254522dbf12f3c04ba78))
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * preserve generic Linux ffi lock entry ([#323](https://github.com/openai/openai-ruby/issues/323)) ([491eacb](https://github.com/openai/openai-ruby/commit/491eacbe59aa77586731a7929f487a4dcd6f7113))
22
+
3
23
  ## 0.75.0 (2026-07-31)
4
24
 
5
25
  Full Changelog: [v0.74.0...v0.75.0](https://github.com/openai/openai-ruby/compare/v0.74.0...v0.75.0)
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # OpenAI Ruby API library
2
2
 
3
- The OpenAI Ruby library provides convenient access to the OpenAI REST API from any Ruby 3.2.0+ application. It ships with comprehensive types & docstrings in Yard, RBS, and RBI – [see below](https://github.com/openai/openai-ruby#Sorbet) for usage with Sorbet. The standard library's `net/http` is used as the HTTP transport, with connection pooling via the `connection_pool` gem.
3
+ The OpenAI Ruby library provides convenient access to the OpenAI REST API from any Ruby 3.3.0+ application. It ships with comprehensive types & docstrings in Yard, RBS, and RBI – [see below](https://github.com/openai/openai-ruby#Sorbet) for usage with Sorbet. The standard library's `net/http` is used as the HTTP transport, with connection pooling via the `connection_pool` gem.
4
4
 
5
5
  ## Documentation
6
6
 
@@ -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", "~> 0.75.0"
18
+ gem "openai", "~> 0.77.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -80,7 +80,7 @@ end
80
80
 
81
81
  ### File uploads
82
82
 
83
- Request parameters that correspond to file uploads can be passed as raw contents, a [`Pathname`](https://rubyapi.org/3.2/o/pathname) instance, [`StringIO`](https://rubyapi.org/3.2/o/stringio), or more.
83
+ Request parameters that correspond to file uploads can be passed as raw contents, a [`Pathname`](https://rubyapi.org/3.3/o/pathname) instance, [`StringIO`](https://rubyapi.org/3.3/o/stringio), or more.
84
84
 
85
85
  ```ruby
86
86
  require "pathname"
@@ -633,13 +633,14 @@ openai.chat.completions.create(
633
633
 
634
634
  ## Versioning
635
635
 
636
- This package follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions. As the library is in initial development and has a major version of `0`, APIs may change at any time.
637
-
638
- This package considers improvements to the (non-runtime) `*.rbi` and `*.rbs` type definitions to be non-breaking changes.
636
+ This package follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html). See the [versioning policy](VERSIONING.md) for how releases, breaking changes, Ruby support, dependencies, and type definitions are managed.
639
637
 
640
638
  ## Requirements
641
639
 
642
- Ruby 3.2.0 or higher.
640
+ Ruby 3.3.0 or higher.
641
+
642
+ Ruby 3.2 users can continue using v0.75.x, the final compatible release line.
643
+ This line will not receive separate maintenance.
643
644
 
644
645
  ## Contributing
645
646
 
data/VERSIONING.md ADDED
@@ -0,0 +1,77 @@
1
+ # Versioning policy
2
+
3
+ The OpenAI Ruby SDK follows [Semantic Versioning](https://semver.org/). This
4
+ policy covers the public gem API, supported Ruby runtimes, dependencies, and
5
+ type definitions.
6
+
7
+ ## Gem releases
8
+
9
+ | Change | While the gem is `0.x` | After `1.0` |
10
+ | --- | --- | --- |
11
+ | Backwards-compatible bug or security fix | Patch | Patch |
12
+ | Additive endpoint, optional argument, response field, or public type | Minor | Minor |
13
+ | Higher minimum Ruby version | Minor | Major by default |
14
+ | Other user-visible breaking change | Minor, with migration guidance | Major |
15
+
16
+ Breaking changes include removing or renaming public behavior and incompatible
17
+ changes to required arguments, return types, exception families,
18
+ serialization, retries, or authentication. A dependency upgrade follows the
19
+ same rule: its version number does not determine the SDK release; its effect on
20
+ SDK users does.
21
+
22
+ Corrections to non-runtime RBI or RBS definitions are normally patches. Use a
23
+ minor release when a type-only change is likely to create substantial new type
24
+ errors for users.
25
+
26
+ Security may require an accelerated breaking release, but an incompatible
27
+ change is never shipped as a routine patch.
28
+
29
+ ## Ruby support
30
+
31
+ The SDK supports released CRuby versions that are in Ruby Core's normal or
32
+ security maintenance phases. An EOL Ruby may receive up to six months of grace
33
+ only through an explicit SDK and Security exception. See [Ruby maintenance
34
+ branches](https://www.ruby-lang.org/en/downloads/branches/) for the upstream
35
+ lifecycle.
36
+
37
+ The current supported versions are Ruby 3.3, 3.4, and 4.0. The authoritative
38
+ minimum is `required_ruby_version` in `openai.gemspec`.
39
+
40
+ When the minimum Ruby version changes:
41
+
42
+ 1. Ship the change in the release category defined above, never in a patch.
43
+ 2. Name the final compatible gem release line in the README and release notes.
44
+ 3. Keep old releases available, without promising fixes or backports.
45
+ 4. Test every supported Ruby minor and verify the built gem rejects the old
46
+ runtime while installing on the new minimum.
47
+
48
+ CRuby is the supported implementation and its CI jobs are blocking. JRuby and
49
+ TruffleRuby are best effort until each has an explicitly owned compatibility
50
+ matrix and support decision.
51
+
52
+ ## Dependencies
53
+
54
+ - Keep the runtime dependency graph small and framework-neutral.
55
+ - Declare standard-library components that are distributed as independent gems.
56
+ - Prefer minimum or open-ended requirements. Add upper bounds only for known
57
+ incompatibilities.
58
+ - Test the minimum and latest resolvable dependency sets when practical.
59
+ - Keep framework and transport integrations optional or in separate gems when
60
+ adding them to the core gem would expand its compatibility surface.
61
+
62
+ ## Maintaining the policy
63
+
64
+ The Ruby version settings serve different purposes:
65
+
66
+ - `openai.gemspec` declares the customer support floor.
67
+ - `.rubocop.yml` targets the syntax of the oldest supported Ruby minor.
68
+ - The CI matrix tests every supported Ruby minor.
69
+ - `.ruby-version` pins the latest patch of the newest supported Ruby for local
70
+ development; it is not the customer support floor.
71
+ - Routine lint, package, and release jobs use the newest supported Ruby minor.
72
+
73
+ After each annual Ruby release, add the new minor to CI and move routine
74
+ development jobs to it once the suite is green. Around each March/April Ruby
75
+ EOL window, explicitly decide whether to raise the customer floor. A floor
76
+ increase must update the gemspec, README, RuboCop target, CI matrix, and release
77
+ notes together; automation must not make that decision by itself.
@@ -9,7 +9,7 @@ module OpenAI
9
9
  #
10
10
  # This module provides a base implementation for streaming responses in the SDK.
11
11
  #
12
- # @see https://rubyapi.org/3.2/o/enumerable
12
+ # @see https://rubyapi.org/3.3/o/enumerable
13
13
  module BaseStream
14
14
  include Enumerable
15
15
 
@@ -481,6 +481,8 @@ module OpenAI
481
481
 
482
482
  variant const: -> { OpenAI::Models::Beta::BetaResponse::Model::GPT_5_6_LUNA }
483
483
 
484
+ variant const: -> { OpenAI::Models::Beta::BetaResponse::Model::GPT_5_5 }
485
+
484
486
  variant const: -> { OpenAI::Models::Beta::BetaResponse::Model::GPT_5_4 }
485
487
 
486
488
  variant const: -> { OpenAI::Models::Beta::BetaResponse::Model::GPT_5_4_MINI }
@@ -679,6 +681,7 @@ module OpenAI
679
681
  GPT_5_6_SOL = :"gpt-5.6-sol"
680
682
  GPT_5_6_TERRA = :"gpt-5.6-terra"
681
683
  GPT_5_6_LUNA = :"gpt-5.6-luna"
684
+ GPT_5_5 = :"gpt-5.5"
682
685
  GPT_5_4 = :"gpt-5.4"
683
686
  GPT_5_4_MINI = :"gpt-5.4-mini"
684
687
  GPT_5_4_NANO = :"gpt-5.4-nano"
@@ -57,7 +57,19 @@ module OpenAI
57
57
  # @return [String, nil]
58
58
  optional :created_by, String
59
59
 
60
- # @!method initialize(id:, call_id:, output:, status:, agent: nil, caller_: nil, created_by: nil, type: :function_call_output)
60
+ # @!attribute name
61
+ # The name of the tool that produced the output.
62
+ #
63
+ # @return [String, nil]
64
+ optional :name, String
65
+
66
+ # @!attribute namespace
67
+ # The namespace of the tool that produced the output.
68
+ #
69
+ # @return [String, nil]
70
+ optional :namespace, String
71
+
72
+ # @!method initialize(id:, call_id:, output:, status:, agent: nil, caller_: nil, created_by: nil, name: nil, namespace: nil, type: :function_call_output)
61
73
  # Some parameter documentations has been truncated, see
62
74
  # {OpenAI::Models::Beta::BetaResponseFunctionToolCallOutputItem} for more details.
63
75
  #
@@ -75,6 +87,10 @@ module OpenAI
75
87
  #
76
88
  # @param created_by [String] The identifier of the actor that created the item.
77
89
  #
90
+ # @param name [String] The name of the tool that produced the output.
91
+ #
92
+ # @param namespace [String] The namespace of the tool that produced the output.
93
+ #
78
94
  # @param type [Symbol, :function_call_output] The type of the function tool call output. Always `function_call_output`.
79
95
 
80
96
  # The output from the function call generated by your code. Can be a string or an
@@ -405,6 +405,18 @@ module OpenAI
405
405
  api_name: :caller,
406
406
  nil?: true
407
407
 
408
+ # @!attribute name
409
+ # The name of the tool that produced the output.
410
+ #
411
+ # @return [String, nil]
412
+ optional :name, String, nil?: true
413
+
414
+ # @!attribute namespace
415
+ # The namespace of the tool that produced the output.
416
+ #
417
+ # @return [String, nil]
418
+ optional :namespace, String, nil?: true
419
+
408
420
  # @!attribute status
409
421
  # The status of the item. One of `in_progress`, `completed`, or `incomplete`.
410
422
  # Populated when items are returned via API.
@@ -416,7 +428,7 @@ module OpenAI
416
428
  },
417
429
  nil?: true
418
430
 
419
- # @!method initialize(call_id:, output:, id: nil, agent: nil, caller_: nil, status: nil, type: :function_call_output)
431
+ # @!method initialize(call_id:, output:, id: nil, agent: nil, caller_: nil, name: nil, namespace: nil, status: nil, type: :function_call_output)
420
432
  # Some parameter documentations has been truncated, see
421
433
  # {OpenAI::Models::Beta::BetaResponseInputItem::FunctionCallOutput} for more
422
434
  # details.
@@ -433,6 +445,10 @@ module OpenAI
433
445
  #
434
446
  # @param caller_ [OpenAI::Models::Beta::BetaResponseInputItem::FunctionCallOutput::Caller::Direct, OpenAI::Models::Beta::BetaResponseInputItem::FunctionCallOutput::Caller::Program, nil] The execution context that produced this tool call.
435
447
  #
448
+ # @param name [String, nil] The name of the tool that produced the output.
449
+ #
450
+ # @param namespace [String, nil] The namespace of the tool that produced the output.
451
+ #
436
452
  # @param status [Symbol, OpenAI::Models::Beta::BetaResponseInputItem::FunctionCallOutput::Status, nil] The status of the item. One of `in_progress`, `completed`, or `incomplete`. Popu
437
453
  #
438
454
  # @param type [Symbol, :function_call_output] The type of the function tool call output. Always `function_call_output`.
@@ -563,6 +563,8 @@ module OpenAI
563
563
 
564
564
  variant const: -> { OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::Model::GPT_5_6_LUNA }
565
565
 
566
+ variant const: -> { OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::Model::GPT_5_5 }
567
+
566
568
  variant const: -> { OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::Model::GPT_5_4 }
567
569
 
568
570
  variant const: -> { OpenAI::Models::Beta::BetaResponsesClientEvent::ResponseCreate::Model::GPT_5_4_MINI }
@@ -761,6 +763,7 @@ module OpenAI
761
763
  GPT_5_6_SOL = :"gpt-5.6-sol"
762
764
  GPT_5_6_TERRA = :"gpt-5.6-terra"
763
765
  GPT_5_6_LUNA = :"gpt-5.6-luna"
766
+ GPT_5_5 = :"gpt-5.5"
764
767
  GPT_5_4 = :"gpt-5.4"
765
768
  GPT_5_4_MINI = :"gpt-5.4-mini"
766
769
  GPT_5_4_NANO = :"gpt-5.4-nano"
@@ -139,6 +139,8 @@ module OpenAI
139
139
 
140
140
  variant const: -> { OpenAI::Models::Beta::ResponseCompactParams::Model::GPT_5_6_LUNA }
141
141
 
142
+ variant const: -> { OpenAI::Models::Beta::ResponseCompactParams::Model::GPT_5_5 }
143
+
142
144
  variant const: -> { OpenAI::Models::Beta::ResponseCompactParams::Model::GPT_5_4 }
143
145
 
144
146
  variant const: -> { OpenAI::Models::Beta::ResponseCompactParams::Model::GPT_5_4_MINI }
@@ -337,6 +339,7 @@ module OpenAI
337
339
  GPT_5_6_SOL = :"gpt-5.6-sol"
338
340
  GPT_5_6_TERRA = :"gpt-5.6-terra"
339
341
  GPT_5_6_LUNA = :"gpt-5.6-luna"
342
+ GPT_5_5 = :"gpt-5.5"
340
343
  GPT_5_4 = :"gpt-5.4"
341
344
  GPT_5_4_MINI = :"gpt-5.4-mini"
342
345
  GPT_5_4_NANO = :"gpt-5.4-nano"
@@ -506,6 +506,8 @@ module OpenAI
506
506
 
507
507
  variant const: -> { OpenAI::Models::Beta::ResponseCreateParams::Model::GPT_5_6_LUNA }
508
508
 
509
+ variant const: -> { OpenAI::Models::Beta::ResponseCreateParams::Model::GPT_5_5 }
510
+
509
511
  variant const: -> { OpenAI::Models::Beta::ResponseCreateParams::Model::GPT_5_4 }
510
512
 
511
513
  variant const: -> { OpenAI::Models::Beta::ResponseCreateParams::Model::GPT_5_4_MINI }
@@ -704,6 +706,7 @@ module OpenAI
704
706
  GPT_5_6_SOL = :"gpt-5.6-sol"
705
707
  GPT_5_6_TERRA = :"gpt-5.6-terra"
706
708
  GPT_5_6_LUNA = :"gpt-5.6-luna"
709
+ GPT_5_5 = :"gpt-5.5"
707
710
  GPT_5_4 = :"gpt-5.4"
708
711
  GPT_5_4_MINI = :"gpt-5.4-mini"
709
712
  GPT_5_4_NANO = :"gpt-5.4-nano"
@@ -8,6 +8,7 @@ module OpenAI
8
8
  GPT_5_6_SOL = :"gpt-5.6-sol"
9
9
  GPT_5_6_TERRA = :"gpt-5.6-terra"
10
10
  GPT_5_6_LUNA = :"gpt-5.6-luna"
11
+ GPT_5_5 = :"gpt-5.5"
11
12
  GPT_5_4 = :"gpt-5.4"
12
13
  GPT_5_4_MINI = :"gpt-5.4-mini"
13
14
  GPT_5_4_NANO = :"gpt-5.4-nano"
@@ -130,6 +130,8 @@ module OpenAI
130
130
 
131
131
  variant const: -> { OpenAI::Models::Responses::ResponseCompactParams::Model::GPT_5_6_LUNA }
132
132
 
133
+ variant const: -> { OpenAI::Models::Responses::ResponseCompactParams::Model::GPT_5_5 }
134
+
133
135
  variant const: -> { OpenAI::Models::Responses::ResponseCompactParams::Model::GPT_5_4 }
134
136
 
135
137
  variant const: -> { OpenAI::Models::Responses::ResponseCompactParams::Model::GPT_5_4_MINI }
@@ -328,6 +330,7 @@ module OpenAI
328
330
  GPT_5_6_SOL = :"gpt-5.6-sol"
329
331
  GPT_5_6_TERRA = :"gpt-5.6-terra"
330
332
  GPT_5_6_LUNA = :"gpt-5.6-luna"
333
+ GPT_5_5 = :"gpt-5.5"
331
334
  GPT_5_4 = :"gpt-5.4"
332
335
  GPT_5_4_MINI = :"gpt-5.4-mini"
333
336
  GPT_5_4_NANO = :"gpt-5.4-nano"
@@ -51,7 +51,19 @@ module OpenAI
51
51
  # @return [String, nil]
52
52
  optional :created_by, String
53
53
 
54
- # @!method initialize(id:, call_id:, output:, status:, caller_: nil, created_by: nil, type: :function_call_output)
54
+ # @!attribute name
55
+ # The name of the tool that produced the output.
56
+ #
57
+ # @return [String, nil]
58
+ optional :name, String
59
+
60
+ # @!attribute namespace
61
+ # The namespace of the tool that produced the output.
62
+ #
63
+ # @return [String, nil]
64
+ optional :namespace, String
65
+
66
+ # @!method initialize(id:, call_id:, output:, status:, caller_: nil, created_by: nil, name: nil, namespace: nil, type: :function_call_output)
55
67
  # Some parameter documentations has been truncated, see
56
68
  # {OpenAI::Models::Responses::ResponseFunctionToolCallOutputItem} for more
57
69
  # details.
@@ -68,6 +80,10 @@ module OpenAI
68
80
  #
69
81
  # @param created_by [String] The identifier of the actor that created the item.
70
82
  #
83
+ # @param name [String] The name of the tool that produced the output.
84
+ #
85
+ # @param namespace [String] The namespace of the tool that produced the output.
86
+ #
71
87
  # @param type [Symbol, :function_call_output] The type of the function tool call output. Always `function_call_output`.
72
88
 
73
89
  # The output from the function call generated by your code. Can be a string or an
@@ -346,6 +346,18 @@ module OpenAI
346
346
  api_name: :caller,
347
347
  nil?: true
348
348
 
349
+ # @!attribute name
350
+ # The name of the tool that produced the output.
351
+ #
352
+ # @return [String, nil]
353
+ optional :name, String, nil?: true
354
+
355
+ # @!attribute namespace
356
+ # The namespace of the tool that produced the output.
357
+ #
358
+ # @return [String, nil]
359
+ optional :namespace, String, nil?: true
360
+
349
361
  # @!attribute status
350
362
  # The status of the item. One of `in_progress`, `completed`, or `incomplete`.
351
363
  # Populated when items are returned via API.
@@ -355,7 +367,7 @@ module OpenAI
355
367
  enum: -> { OpenAI::Responses::ResponseInputItem::FunctionCallOutput::Status },
356
368
  nil?: true
357
369
 
358
- # @!method initialize(call_id:, output:, id: nil, caller_: nil, status: nil, type: :function_call_output)
370
+ # @!method initialize(call_id:, output:, id: nil, caller_: nil, name: nil, namespace: nil, status: nil, type: :function_call_output)
359
371
  # Some parameter documentations has been truncated, see
360
372
  # {OpenAI::Models::Responses::ResponseInputItem::FunctionCallOutput} for more
361
373
  # details.
@@ -370,6 +382,10 @@ module OpenAI
370
382
  #
371
383
  # @param caller_ [OpenAI::Models::Responses::ResponseInputItem::FunctionCallOutput::Caller::Direct, OpenAI::Models::Responses::ResponseInputItem::FunctionCallOutput::Caller::Program, nil] The execution context that produced this tool call.
372
384
  #
385
+ # @param name [String, nil] The name of the tool that produced the output.
386
+ #
387
+ # @param namespace [String, nil] The namespace of the tool that produced the output.
388
+ #
373
389
  # @param status [Symbol, OpenAI::Models::Responses::ResponseInputItem::FunctionCallOutput::Status, nil] The status of the item. One of `in_progress`, `completed`, or `incomplete`. Popu
374
390
  #
375
391
  # @param type [Symbol, :function_call_output] The type of the function tool call output. Always `function_call_output`.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OpenAI
4
- VERSION = "0.75.0"
4
+ VERSION = "0.77.0"
5
5
  end
@@ -879,6 +879,8 @@ module OpenAI
879
879
  :"gpt-5.6-luna",
880
880
  OpenAI::Beta::BetaResponse::Model::TaggedSymbol
881
881
  )
882
+ GPT_5_5 =
883
+ T.let(:"gpt-5.5", OpenAI::Beta::BetaResponse::Model::TaggedSymbol)
882
884
  GPT_5_4 =
883
885
  T.let(:"gpt-5.4", OpenAI::Beta::BetaResponse::Model::TaggedSymbol)
884
886
  GPT_5_4_MINI =
@@ -82,6 +82,20 @@ module OpenAI
82
82
  sig { params(created_by: String).void }
83
83
  attr_writer :created_by
84
84
 
85
+ # The name of the tool that produced the output.
86
+ sig { returns(T.nilable(String)) }
87
+ attr_reader :name
88
+
89
+ sig { params(name: String).void }
90
+ attr_writer :name
91
+
92
+ # The namespace of the tool that produced the output.
93
+ sig { returns(T.nilable(String)) }
94
+ attr_reader :namespace
95
+
96
+ sig { params(namespace: String).void }
97
+ attr_writer :namespace
98
+
85
99
  sig do
86
100
  params(
87
101
  id: String,
@@ -102,6 +116,8 @@ module OpenAI
102
116
  )
103
117
  ),
104
118
  created_by: String,
119
+ name: String,
120
+ namespace: String,
105
121
  type: Symbol
106
122
  ).returns(T.attached_class)
107
123
  end
@@ -122,6 +138,10 @@ module OpenAI
122
138
  caller_: nil,
123
139
  # The identifier of the actor that created the item.
124
140
  created_by: nil,
141
+ # The name of the tool that produced the output.
142
+ name: nil,
143
+ # The namespace of the tool that produced the output.
144
+ namespace: nil,
125
145
  # The type of the function tool call output. Always `function_call_output`.
126
146
  type: :function_call_output
127
147
  )
@@ -145,7 +165,9 @@ module OpenAI
145
165
  T.nilable(
146
166
  OpenAI::Beta::BetaResponseFunctionToolCallOutputItem::Caller::Variants
147
167
  ),
148
- created_by: String
168
+ created_by: String,
169
+ name: String,
170
+ namespace: String
149
171
  }
150
172
  )
151
173
  end
@@ -679,6 +679,14 @@ module OpenAI
679
679
  end
680
680
  attr_accessor :caller_
681
681
 
682
+ # The name of the tool that produced the output.
683
+ sig { returns(T.nilable(String)) }
684
+ attr_accessor :name
685
+
686
+ # The namespace of the tool that produced the output.
687
+ sig { returns(T.nilable(String)) }
688
+ attr_accessor :namespace
689
+
682
690
  # The status of the item. One of `in_progress`, `completed`, or `incomplete`.
683
691
  # Populated when items are returned via API.
684
692
  sig do
@@ -708,6 +716,8 @@ module OpenAI
708
716
  OpenAI::Beta::BetaResponseInputItem::FunctionCallOutput::Caller::Program::OrHash
709
717
  )
710
718
  ),
719
+ name: T.nilable(String),
720
+ namespace: T.nilable(String),
711
721
  status:
712
722
  T.nilable(
713
723
  OpenAI::Beta::BetaResponseInputItem::FunctionCallOutput::Status::OrSymbol
@@ -727,6 +737,10 @@ module OpenAI
727
737
  agent: nil,
728
738
  # The execution context that produced this tool call.
729
739
  caller_: nil,
740
+ # The name of the tool that produced the output.
741
+ name: nil,
742
+ # The namespace of the tool that produced the output.
743
+ namespace: nil,
730
744
  # The status of the item. One of `in_progress`, `completed`, or `incomplete`.
731
745
  # Populated when items are returned via API.
732
746
  status: nil,
@@ -754,6 +768,8 @@ module OpenAI
754
768
  OpenAI::Beta::BetaResponseInputItem::FunctionCallOutput::Caller::Program
755
769
  )
756
770
  ),
771
+ name: T.nilable(String),
772
+ namespace: T.nilable(String),
757
773
  status:
758
774
  T.nilable(
759
775
  OpenAI::Beta::BetaResponseInputItem::FunctionCallOutput::Status::OrSymbol
@@ -1154,6 +1154,11 @@ module OpenAI
1154
1154
  :"gpt-5.6-luna",
1155
1155
  OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::Model::TaggedSymbol
1156
1156
  )
1157
+ GPT_5_5 =
1158
+ T.let(
1159
+ :"gpt-5.5",
1160
+ OpenAI::Beta::BetaResponsesClientEvent::ResponseCreate::Model::TaggedSymbol
1161
+ )
1157
1162
  GPT_5_4 =
1158
1163
  T.let(
1159
1164
  :"gpt-5.4",
@@ -300,6 +300,11 @@ module OpenAI
300
300
  :"gpt-5.6-luna",
301
301
  OpenAI::Beta::ResponseCompactParams::Model::TaggedSymbol
302
302
  )
303
+ GPT_5_5 =
304
+ T.let(
305
+ :"gpt-5.5",
306
+ OpenAI::Beta::ResponseCompactParams::Model::TaggedSymbol
307
+ )
303
308
  GPT_5_4 =
304
309
  T.let(
305
310
  :"gpt-5.4",
@@ -1063,6 +1063,11 @@ module OpenAI
1063
1063
  :"gpt-5.6-luna",
1064
1064
  OpenAI::Beta::ResponseCreateParams::Model::TaggedSymbol
1065
1065
  )
1066
+ GPT_5_5 =
1067
+ T.let(
1068
+ :"gpt-5.5",
1069
+ OpenAI::Beta::ResponseCreateParams::Model::TaggedSymbol
1070
+ )
1066
1071
  GPT_5_4 =
1067
1072
  T.let(
1068
1073
  :"gpt-5.4",
@@ -11,6 +11,7 @@ module OpenAI
11
11
  GPT_5_6_SOL = T.let(:"gpt-5.6-sol", OpenAI::ChatModel::TaggedSymbol)
12
12
  GPT_5_6_TERRA = T.let(:"gpt-5.6-terra", OpenAI::ChatModel::TaggedSymbol)
13
13
  GPT_5_6_LUNA = T.let(:"gpt-5.6-luna", OpenAI::ChatModel::TaggedSymbol)
14
+ GPT_5_5 = T.let(:"gpt-5.5", OpenAI::ChatModel::TaggedSymbol)
14
15
  GPT_5_4 = T.let(:"gpt-5.4", OpenAI::ChatModel::TaggedSymbol)
15
16
  GPT_5_4_MINI = T.let(:"gpt-5.4-mini", OpenAI::ChatModel::TaggedSymbol)
16
17
  GPT_5_4_NANO = T.let(:"gpt-5.4-nano", OpenAI::ChatModel::TaggedSymbol)
@@ -287,6 +287,11 @@ module OpenAI
287
287
  :"gpt-5.6-luna",
288
288
  OpenAI::Responses::ResponseCompactParams::Model::TaggedSymbol
289
289
  )
290
+ GPT_5_5 =
291
+ T.let(
292
+ :"gpt-5.5",
293
+ OpenAI::Responses::ResponseCompactParams::Model::TaggedSymbol
294
+ )
290
295
  GPT_5_4 =
291
296
  T.let(
292
297
  :"gpt-5.4",
@@ -59,6 +59,20 @@ module OpenAI
59
59
  sig { params(created_by: String).void }
60
60
  attr_writer :created_by
61
61
 
62
+ # The name of the tool that produced the output.
63
+ sig { returns(T.nilable(String)) }
64
+ attr_reader :name
65
+
66
+ sig { params(name: String).void }
67
+ attr_writer :name
68
+
69
+ # The namespace of the tool that produced the output.
70
+ sig { returns(T.nilable(String)) }
71
+ attr_reader :namespace
72
+
73
+ sig { params(namespace: String).void }
74
+ attr_writer :namespace
75
+
62
76
  sig do
63
77
  params(
64
78
  id: String,
@@ -75,6 +89,8 @@ module OpenAI
75
89
  )
76
90
  ),
77
91
  created_by: String,
92
+ name: String,
93
+ namespace: String,
78
94
  type: Symbol
79
95
  ).returns(T.attached_class)
80
96
  end
@@ -93,6 +109,10 @@ module OpenAI
93
109
  caller_: nil,
94
110
  # The identifier of the actor that created the item.
95
111
  created_by: nil,
112
+ # The name of the tool that produced the output.
113
+ name: nil,
114
+ # The namespace of the tool that produced the output.
115
+ namespace: nil,
96
116
  # The type of the function tool call output. Always `function_call_output`.
97
117
  type: :function_call_output
98
118
  )
@@ -112,7 +132,9 @@ module OpenAI
112
132
  T.nilable(
113
133
  OpenAI::Responses::ResponseFunctionToolCallOutputItem::Caller::Variants
114
134
  ),
115
- created_by: String
135
+ created_by: String,
136
+ name: String,
137
+ namespace: String
116
138
  }
117
139
  )
118
140
  end
@@ -546,6 +546,14 @@ module OpenAI
546
546
  end
547
547
  attr_accessor :caller_
548
548
 
549
+ # The name of the tool that produced the output.
550
+ sig { returns(T.nilable(String)) }
551
+ attr_accessor :name
552
+
553
+ # The namespace of the tool that produced the output.
554
+ sig { returns(T.nilable(String)) }
555
+ attr_accessor :namespace
556
+
549
557
  # The status of the item. One of `in_progress`, `completed`, or `incomplete`.
550
558
  # Populated when items are returned via API.
551
559
  sig do
@@ -571,6 +579,8 @@ module OpenAI
571
579
  OpenAI::Responses::ResponseInputItem::FunctionCallOutput::Caller::Program::OrHash
572
580
  )
573
581
  ),
582
+ name: T.nilable(String),
583
+ namespace: T.nilable(String),
574
584
  status:
575
585
  T.nilable(
576
586
  OpenAI::Responses::ResponseInputItem::FunctionCallOutput::Status::OrSymbol
@@ -588,6 +598,10 @@ module OpenAI
588
598
  id: nil,
589
599
  # The execution context that produced this tool call.
590
600
  caller_: nil,
601
+ # The name of the tool that produced the output.
602
+ name: nil,
603
+ # The namespace of the tool that produced the output.
604
+ namespace: nil,
591
605
  # The status of the item. One of `in_progress`, `completed`, or `incomplete`.
592
606
  # Populated when items are returned via API.
593
607
  status: nil,
@@ -611,6 +625,8 @@ module OpenAI
611
625
  OpenAI::Responses::ResponseInputItem::FunctionCallOutput::Caller::Program
612
626
  )
613
627
  ),
628
+ name: T.nilable(String),
629
+ namespace: T.nilable(String),
614
630
  status:
615
631
  T.nilable(
616
632
  OpenAI::Responses::ResponseInputItem::FunctionCallOutput::Status::OrSymbol
@@ -249,6 +249,7 @@ module OpenAI
249
249
  :"gpt-5.6-sol"
250
250
  | :"gpt-5.6-terra"
251
251
  | :"gpt-5.6-luna"
252
+ | :"gpt-5.5"
252
253
  | :"gpt-5.4"
253
254
  | :"gpt-5.4-mini"
254
255
  | :"gpt-5.4-nano"
@@ -351,6 +352,7 @@ module OpenAI
351
352
  GPT_5_6_SOL: :"gpt-5.6-sol"
352
353
  GPT_5_6_TERRA: :"gpt-5.6-terra"
353
354
  GPT_5_6_LUNA: :"gpt-5.6-luna"
355
+ GPT_5_5: :"gpt-5.5"
354
356
  GPT_5_4: :"gpt-5.4"
355
357
  GPT_5_4_MINI: :"gpt-5.4-mini"
356
358
  GPT_5_4_NANO: :"gpt-5.4-nano"
@@ -12,7 +12,9 @@ module OpenAI
12
12
  type: :function_call_output,
13
13
  agent: OpenAI::Beta::BetaResponseFunctionToolCallOutputItem::Agent?,
14
14
  caller_: OpenAI::Models::Beta::BetaResponseFunctionToolCallOutputItem::caller_?,
15
- created_by: String
15
+ created_by: String,
16
+ name: String,
17
+ namespace: String
16
18
  }
17
19
 
18
20
  class BetaResponseFunctionToolCallOutputItem < OpenAI::Internal::Type::BaseModel
@@ -34,6 +36,14 @@ module OpenAI
34
36
 
35
37
  def created_by=: (String) -> String
36
38
 
39
+ attr_reader name: String?
40
+
41
+ def name=: (String) -> String
42
+
43
+ attr_reader namespace: String?
44
+
45
+ def namespace=: (String) -> String
46
+
37
47
  def initialize: (
38
48
  id: String,
39
49
  call_id: String,
@@ -42,6 +52,8 @@ module OpenAI
42
52
  ?agent: OpenAI::Beta::BetaResponseFunctionToolCallOutputItem::Agent?,
43
53
  ?caller_: OpenAI::Models::Beta::BetaResponseFunctionToolCallOutputItem::caller_?,
44
54
  ?created_by: String,
55
+ ?name: String,
56
+ ?namespace: String,
45
57
  ?type: :function_call_output
46
58
  ) -> void
47
59
 
@@ -53,7 +65,9 @@ module OpenAI
53
65
  type: :function_call_output,
54
66
  agent: OpenAI::Beta::BetaResponseFunctionToolCallOutputItem::Agent?,
55
67
  caller_: OpenAI::Models::Beta::BetaResponseFunctionToolCallOutputItem::caller_?,
56
- created_by: String
68
+ created_by: String,
69
+ name: String,
70
+ namespace: String
57
71
  }
58
72
 
59
73
  type output =
@@ -228,6 +228,8 @@ module OpenAI
228
228
  id: String?,
229
229
  agent: OpenAI::Beta::BetaResponseInputItem::FunctionCallOutput::Agent?,
230
230
  caller_: OpenAI::Models::Beta::BetaResponseInputItem::FunctionCallOutput::caller_?,
231
+ name: String?,
232
+ namespace: String?,
231
233
  status: OpenAI::Models::Beta::BetaResponseInputItem::FunctionCallOutput::status?
232
234
  }
233
235
 
@@ -244,6 +246,10 @@ module OpenAI
244
246
 
245
247
  attr_accessor caller_: OpenAI::Models::Beta::BetaResponseInputItem::FunctionCallOutput::caller_?
246
248
 
249
+ attr_accessor name: String?
250
+
251
+ attr_accessor namespace: String?
252
+
247
253
  attr_accessor status: OpenAI::Models::Beta::BetaResponseInputItem::FunctionCallOutput::status?
248
254
 
249
255
  def initialize: (
@@ -252,6 +258,8 @@ module OpenAI
252
258
  ?id: String?,
253
259
  ?agent: OpenAI::Beta::BetaResponseInputItem::FunctionCallOutput::Agent?,
254
260
  ?caller_: OpenAI::Models::Beta::BetaResponseInputItem::FunctionCallOutput::caller_?,
261
+ ?name: String?,
262
+ ?namespace: String?,
255
263
  ?status: OpenAI::Models::Beta::BetaResponseInputItem::FunctionCallOutput::status?,
256
264
  ?type: :function_call_output
257
265
  ) -> void
@@ -263,6 +271,8 @@ module OpenAI
263
271
  id: String?,
264
272
  agent: OpenAI::Beta::BetaResponseInputItem::FunctionCallOutput::Agent?,
265
273
  caller_: OpenAI::Models::Beta::BetaResponseInputItem::FunctionCallOutput::caller_?,
274
+ name: String?,
275
+ namespace: String?,
266
276
  status: OpenAI::Models::Beta::BetaResponseInputItem::FunctionCallOutput::status?
267
277
  }
268
278
 
@@ -246,6 +246,7 @@ module OpenAI
246
246
  :"gpt-5.6-sol"
247
247
  | :"gpt-5.6-terra"
248
248
  | :"gpt-5.6-luna"
249
+ | :"gpt-5.5"
249
250
  | :"gpt-5.4"
250
251
  | :"gpt-5.4-mini"
251
252
  | :"gpt-5.4-nano"
@@ -348,6 +349,7 @@ module OpenAI
348
349
  GPT_5_6_SOL: :"gpt-5.6-sol"
349
350
  GPT_5_6_TERRA: :"gpt-5.6-terra"
350
351
  GPT_5_6_LUNA: :"gpt-5.6-luna"
352
+ GPT_5_5: :"gpt-5.5"
351
353
  GPT_5_4: :"gpt-5.4"
352
354
  GPT_5_4_MINI: :"gpt-5.4-mini"
353
355
  GPT_5_4_NANO: :"gpt-5.4-nano"
@@ -71,6 +71,7 @@ module OpenAI
71
71
  :"gpt-5.6-sol"
72
72
  | :"gpt-5.6-terra"
73
73
  | :"gpt-5.6-luna"
74
+ | :"gpt-5.5"
74
75
  | :"gpt-5.4"
75
76
  | :"gpt-5.4-mini"
76
77
  | :"gpt-5.4-nano"
@@ -173,6 +174,7 @@ module OpenAI
173
174
  GPT_5_6_SOL: :"gpt-5.6-sol"
174
175
  GPT_5_6_TERRA: :"gpt-5.6-terra"
175
176
  GPT_5_6_LUNA: :"gpt-5.6-luna"
177
+ GPT_5_5: :"gpt-5.5"
176
178
  GPT_5_4: :"gpt-5.4"
177
179
  GPT_5_4_MINI: :"gpt-5.4-mini"
178
180
  GPT_5_4_NANO: :"gpt-5.4-nano"
@@ -240,6 +240,7 @@ module OpenAI
240
240
  :"gpt-5.6-sol"
241
241
  | :"gpt-5.6-terra"
242
242
  | :"gpt-5.6-luna"
243
+ | :"gpt-5.5"
243
244
  | :"gpt-5.4"
244
245
  | :"gpt-5.4-mini"
245
246
  | :"gpt-5.4-nano"
@@ -342,6 +343,7 @@ module OpenAI
342
343
  GPT_5_6_SOL: :"gpt-5.6-sol"
343
344
  GPT_5_6_TERRA: :"gpt-5.6-terra"
344
345
  GPT_5_6_LUNA: :"gpt-5.6-luna"
346
+ GPT_5_5: :"gpt-5.5"
345
347
  GPT_5_4: :"gpt-5.4"
346
348
  GPT_5_4_MINI: :"gpt-5.4-mini"
347
349
  GPT_5_4_NANO: :"gpt-5.4-nano"
@@ -4,6 +4,7 @@ module OpenAI
4
4
  :"gpt-5.6-sol"
5
5
  | :"gpt-5.6-terra"
6
6
  | :"gpt-5.6-luna"
7
+ | :"gpt-5.5"
7
8
  | :"gpt-5.4"
8
9
  | :"gpt-5.4-mini"
9
10
  | :"gpt-5.4-nano"
@@ -89,6 +90,7 @@ module OpenAI
89
90
  GPT_5_6_SOL: :"gpt-5.6-sol"
90
91
  GPT_5_6_TERRA: :"gpt-5.6-terra"
91
92
  GPT_5_6_LUNA: :"gpt-5.6-luna"
93
+ GPT_5_5: :"gpt-5.5"
92
94
  GPT_5_4: :"gpt-5.4"
93
95
  GPT_5_4_MINI: :"gpt-5.4-mini"
94
96
  GPT_5_4_NANO: :"gpt-5.4-nano"
@@ -62,6 +62,7 @@ module OpenAI
62
62
  :"gpt-5.6-sol"
63
63
  | :"gpt-5.6-terra"
64
64
  | :"gpt-5.6-luna"
65
+ | :"gpt-5.5"
65
66
  | :"gpt-5.4"
66
67
  | :"gpt-5.4-mini"
67
68
  | :"gpt-5.4-nano"
@@ -164,6 +165,7 @@ module OpenAI
164
165
  GPT_5_6_SOL: :"gpt-5.6-sol"
165
166
  GPT_5_6_TERRA: :"gpt-5.6-terra"
166
167
  GPT_5_6_LUNA: :"gpt-5.6-luna"
168
+ GPT_5_5: :"gpt-5.5"
167
169
  GPT_5_4: :"gpt-5.4"
168
170
  GPT_5_4_MINI: :"gpt-5.4-mini"
169
171
  GPT_5_4_NANO: :"gpt-5.4-nano"
@@ -9,7 +9,9 @@ module OpenAI
9
9
  status: OpenAI::Models::Responses::ResponseFunctionToolCallOutputItem::status,
10
10
  type: :function_call_output,
11
11
  caller_: OpenAI::Models::Responses::ResponseFunctionToolCallOutputItem::caller_?,
12
- created_by: String
12
+ created_by: String,
13
+ name: String,
14
+ namespace: String
13
15
  }
14
16
 
15
17
  class ResponseFunctionToolCallOutputItem < OpenAI::Internal::Type::BaseModel
@@ -29,6 +31,14 @@ module OpenAI
29
31
 
30
32
  def created_by=: (String) -> String
31
33
 
34
+ attr_reader name: String?
35
+
36
+ def name=: (String) -> String
37
+
38
+ attr_reader namespace: String?
39
+
40
+ def namespace=: (String) -> String
41
+
32
42
  def initialize: (
33
43
  id: String,
34
44
  call_id: String,
@@ -36,6 +46,8 @@ module OpenAI
36
46
  status: OpenAI::Models::Responses::ResponseFunctionToolCallOutputItem::status,
37
47
  ?caller_: OpenAI::Models::Responses::ResponseFunctionToolCallOutputItem::caller_?,
38
48
  ?created_by: String,
49
+ ?name: String,
50
+ ?namespace: String,
39
51
  ?type: :function_call_output
40
52
  ) -> void
41
53
 
@@ -46,7 +58,9 @@ module OpenAI
46
58
  status: OpenAI::Models::Responses::ResponseFunctionToolCallOutputItem::status,
47
59
  type: :function_call_output,
48
60
  caller_: OpenAI::Models::Responses::ResponseFunctionToolCallOutputItem::caller_?,
49
- created_by: String
61
+ created_by: String,
62
+ name: String,
63
+ namespace: String
50
64
  }
51
65
 
52
66
  type output =
@@ -192,6 +192,8 @@ module OpenAI
192
192
  type: :function_call_output,
193
193
  id: String?,
194
194
  caller_: OpenAI::Models::Responses::ResponseInputItem::FunctionCallOutput::caller_?,
195
+ name: String?,
196
+ namespace: String?,
195
197
  status: OpenAI::Models::Responses::ResponseInputItem::FunctionCallOutput::status?
196
198
  }
197
199
 
@@ -206,6 +208,10 @@ module OpenAI
206
208
 
207
209
  attr_accessor caller_: OpenAI::Models::Responses::ResponseInputItem::FunctionCallOutput::caller_?
208
210
 
211
+ attr_accessor name: String?
212
+
213
+ attr_accessor namespace: String?
214
+
209
215
  attr_accessor status: OpenAI::Models::Responses::ResponseInputItem::FunctionCallOutput::status?
210
216
 
211
217
  def initialize: (
@@ -213,6 +219,8 @@ module OpenAI
213
219
  output: OpenAI::Models::Responses::ResponseInputItem::FunctionCallOutput::output,
214
220
  ?id: String?,
215
221
  ?caller_: OpenAI::Models::Responses::ResponseInputItem::FunctionCallOutput::caller_?,
222
+ ?name: String?,
223
+ ?namespace: String?,
216
224
  ?status: OpenAI::Models::Responses::ResponseInputItem::FunctionCallOutput::status?,
217
225
  ?type: :function_call_output
218
226
  ) -> void
@@ -223,6 +231,8 @@ module OpenAI
223
231
  type: :function_call_output,
224
232
  id: String?,
225
233
  caller_: OpenAI::Models::Responses::ResponseInputItem::FunctionCallOutput::caller_?,
234
+ name: String?,
235
+ namespace: String?,
226
236
  status: OpenAI::Models::Responses::ResponseInputItem::FunctionCallOutput::status?
227
237
  }
228
238
 
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.75.0
4
+ version: 0.77.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAI
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2026-07-31 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: base64
@@ -52,17 +51,18 @@ dependencies:
52
51
  - - ">="
53
52
  - !ruby/object:Gem::Version
54
53
  version: '0'
55
- description:
56
54
  email: support@openai.com
57
55
  executables: []
58
56
  extensions: []
59
57
  extra_rdoc_files:
60
58
  - README.md
59
+ - VERSIONING.md
61
60
  files:
62
61
  - ".ignore"
63
62
  - CHANGELOG.md
64
63
  - README.md
65
64
  - SECURITY.md
65
+ - VERSIONING.md
66
66
  - lib/openai.rb
67
67
  - lib/openai/auth/subject_token_provider.rb
68
68
  - lib/openai/auth/subject_token_providers/azure_managed_identity_token_provider.rb
@@ -3734,7 +3734,6 @@ metadata:
3734
3734
  homepage_uri: https://gemdocs.org/gems/openai
3735
3735
  source_code_uri: https://github.com/openai/openai-ruby
3736
3736
  rubygems_mfa_required: 'true'
3737
- post_install_message:
3738
3737
  rdoc_options: []
3739
3738
  require_paths:
3740
3739
  - lib
@@ -3742,15 +3741,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
3742
3741
  requirements:
3743
3742
  - - ">="
3744
3743
  - !ruby/object:Gem::Version
3745
- version: 3.2.0
3744
+ version: 3.3.0
3746
3745
  required_rubygems_version: !ruby/object:Gem::Requirement
3747
3746
  requirements:
3748
3747
  - - ">="
3749
3748
  - !ruby/object:Gem::Version
3750
3749
  version: '0'
3751
3750
  requirements: []
3752
- rubygems_version: 3.4.19
3753
- signing_key:
3751
+ rubygems_version: 4.0.16
3754
3752
  specification_version: 4
3755
3753
  summary: Ruby library to access the OpenAI API
3756
3754
  test_files: []