@@ -11,7 +11,7 @@ class ResponseReasoningItem < OpenAI::Internal::Type::BaseModel
11
11
required :id , String
12
12
13
13
# @!attribute summary
14
- # Reasoning text contents .
14
+ # Reasoning summary content .
15
15
#
16
16
# @return [Array<OpenAI::Models::Responses::ResponseReasoningItem::Summary>]
17
17
required :summary ,
@@ -23,6 +23,13 @@ class ResponseReasoningItem < OpenAI::Internal::Type::BaseModel
23
23
# @return [Symbol, :reasoning]
24
24
required :type , const : :reasoning
25
25
26
+ # @!attribute content
27
+ # Reasoning text content.
28
+ #
29
+ # @return [Array<OpenAI::Models::Responses::ResponseReasoningItem::Content>, nil]
30
+ optional :content ,
31
+ -> { OpenAI ::Internal ::Type ::ArrayOf [ OpenAI ::Responses ::ResponseReasoningItem ::Content ] }
32
+
26
33
# @!attribute encrypted_content
27
34
# The encrypted content of the reasoning item - populated when a response is
28
35
# generated with `reasoning.encrypted_content` in the `include` parameter.
@@ -37,7 +44,7 @@ class ResponseReasoningItem < OpenAI::Internal::Type::BaseModel
37
44
# @return [Symbol, OpenAI::Models::Responses::ResponseReasoningItem::Status, nil]
38
45
optional :status , enum : -> { OpenAI ::Responses ::ResponseReasoningItem ::Status }
39
46
40
- # @!method initialize(id:, summary:, encrypted_content: nil, status: nil, type: :reasoning)
47
+ # @!method initialize(id:, summary:, content: nil, encrypted_content: nil, status: nil, type: :reasoning)
41
48
# Some parameter documentations has been truncated, see
42
49
# {OpenAI::Models::Responses::ResponseReasoningItem} for more details.
43
50
#
@@ -48,7 +55,9 @@ class ResponseReasoningItem < OpenAI::Internal::Type::BaseModel
48
55
#
49
56
# @param id [String] The unique identifier of the reasoning content.
50
57
#
51
- # @param summary [Array<OpenAI::Models::Responses::ResponseReasoningItem::Summary>] Reasoning text contents.
58
+ # @param summary [Array<OpenAI::Models::Responses::ResponseReasoningItem::Summary>] Reasoning summary content.
59
+ #
60
+ # @param content [Array<OpenAI::Models::Responses::ResponseReasoningItem::Content>] Reasoning text content.
52
61
#
53
62
# @param encrypted_content [String, nil] The encrypted content of the reasoning item - populated when a response is
54
63
#
@@ -58,7 +67,7 @@ class ResponseReasoningItem < OpenAI::Internal::Type::BaseModel
58
67
59
68
class Summary < OpenAI ::Internal ::Type ::BaseModel
60
69
# @!attribute text
61
- # A short summary of the reasoning used by the model when generating the response .
70
+ # A summary of the reasoning output from the model so far .
62
71
#
63
72
# @return [String]
64
73
required :text , String
@@ -73,11 +82,33 @@ class Summary < OpenAI::Internal::Type::BaseModel
73
82
# Some parameter documentations has been truncated, see
74
83
# {OpenAI::Models::Responses::ResponseReasoningItem::Summary} for more details.
75
84
#
76
- # @param text [String] A short summary of the reasoning used by the model when generating
85
+ # @param text [String] A summary of the reasoning output from the model so far.
77
86
#
78
87
# @param type [Symbol, :summary_text] The type of the object. Always `summary_text`.
79
88
end
80
89
90
+ class Content < OpenAI ::Internal ::Type ::BaseModel
91
+ # @!attribute text
92
+ # Reasoning text output from the model.
93
+ #
94
+ # @return [String]
95
+ required :text , String
96
+
97
+ # @!attribute type
98
+ # The type of the object. Always `reasoning_text`.
99
+ #
100
+ # @return [Symbol, :reasoning_text]
101
+ required :type , const : :reasoning_text
102
+
103
+ # @!method initialize(text:, type: :reasoning_text)
104
+ # Some parameter documentations has been truncated, see
105
+ # {OpenAI::Models::Responses::ResponseReasoningItem::Content} for more details.
106
+ #
107
+ # @param text [String] Reasoning text output from the model.
108
+ #
109
+ # @param type [Symbol, :reasoning_text] The type of the object. Always `reasoning_text`.
110
+ end
111
+
81
112
# The status of the item. One of `in_progress`, `completed`, or `incomplete`.
82
113
# Populated when items are returned via API.
83
114
#
0 commit comments