openai 0.76.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 (35) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/README.md +1 -1
  4. data/lib/openai/models/beta/beta_response.rb +3 -0
  5. data/lib/openai/models/beta/beta_response_function_tool_call_output_item.rb +17 -1
  6. data/lib/openai/models/beta/beta_response_input_item.rb +17 -1
  7. data/lib/openai/models/beta/beta_responses_client_event.rb +3 -0
  8. data/lib/openai/models/beta/response_compact_params.rb +3 -0
  9. data/lib/openai/models/beta/response_create_params.rb +3 -0
  10. data/lib/openai/models/chat_model.rb +1 -0
  11. data/lib/openai/models/responses/response_compact_params.rb +3 -0
  12. data/lib/openai/models/responses/response_function_tool_call_output_item.rb +17 -1
  13. data/lib/openai/models/responses/response_input_item.rb +17 -1
  14. data/lib/openai/version.rb +1 -1
  15. data/rbi/openai/models/beta/beta_response.rbi +2 -0
  16. data/rbi/openai/models/beta/beta_response_function_tool_call_output_item.rbi +23 -1
  17. data/rbi/openai/models/beta/beta_response_input_item.rbi +16 -0
  18. data/rbi/openai/models/beta/beta_responses_client_event.rbi +5 -0
  19. data/rbi/openai/models/beta/response_compact_params.rbi +5 -0
  20. data/rbi/openai/models/beta/response_create_params.rbi +5 -0
  21. data/rbi/openai/models/chat_model.rbi +1 -0
  22. data/rbi/openai/models/responses/response_compact_params.rbi +5 -0
  23. data/rbi/openai/models/responses/response_function_tool_call_output_item.rbi +23 -1
  24. data/rbi/openai/models/responses/response_input_item.rbi +16 -0
  25. data/sig/openai/models/beta/beta_response.rbs +2 -0
  26. data/sig/openai/models/beta/beta_response_function_tool_call_output_item.rbs +16 -2
  27. data/sig/openai/models/beta/beta_response_input_item.rbs +10 -0
  28. data/sig/openai/models/beta/beta_responses_client_event.rbs +2 -0
  29. data/sig/openai/models/beta/response_compact_params.rbs +2 -0
  30. data/sig/openai/models/beta/response_create_params.rbs +2 -0
  31. data/sig/openai/models/chat_model.rbs +2 -0
  32. data/sig/openai/models/responses/response_compact_params.rbs +2 -0
  33. data/sig/openai/models/responses/response_function_tool_call_output_item.rbs +16 -2
  34. data/sig/openai/models/responses/response_input_item.rbs +10 -0
  35. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cab767061478241e5accb3482ec747785aff81c5b375a726d9e90d7d28401e88
4
- data.tar.gz: 8d127b01f66be6a38f85530c93d7c33f8abf4f3b61d5750080f7f1308dbfa46b
3
+ metadata.gz: 5000670305cff69185cbe0dff3631e86d5be3445740eb25fb31c56f00690d485
4
+ data.tar.gz: 6ec924198ee603d505973d07f1202800b24ca12d33ce0c65c448c5a7e653f372
5
5
  SHA512:
6
- metadata.gz: e0a6982a093b6263fd2484b2ee50c9b3d712a0548015cda1b6401157fddef8ae802a9fc6a4b2fbfdea8e2e37ad6f8173500f9b97884008690fc2a8ced51cddbd
7
- data.tar.gz: 9688ca923096844c3c6cd4205d448f7c06474214562cf28af350471e1ed8a726694960dd8733de94a9249bd86d0da4b06c3f52cdbe3ac5fcc1bdae6dd77890c2
6
+ metadata.gz: 322f191841730ec1253aea6c82b511932279f7bbc835575b3f7377deb72a06fbedcdec64d730db2a4492ebcc1da26beded76cd06a7b8f50b61ae6bb3f92ede08
7
+ data.tar.gz: 95fe84de3c5ed10c63d71f127271794a7f0bb291c58d72b384d0f316840c58d6719a875b19f42d8e744c12970ac1770385607df33dad638ca7f3ee9346bee8d1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
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
+
3
10
  ## 0.76.0 (2026-07-31)
4
11
 
5
12
  Full Changelog: [v0.75.0...v0.76.0](https://github.com/openai/openai-ruby/compare/v0.75.0...v0.76.0)
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", "~> 0.76.0"
18
+ gem "openai", "~> 0.77.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -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.76.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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.76.0
4
+ version: 0.77.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAI