You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Some parameter documentations has been truncated, see
29
38
# {OpenAI::Models::Responses::EasyInputMessage} for more details.
30
39
#
@@ -38,6 +47,8 @@ class EasyInputMessage < OpenAI::Internal::Type::BaseModel
38
47
#
39
48
# @param role [Symbol, OpenAI::Models::Responses::EasyInputMessage::Role] The role of the message input. One of `user`, `assistant`, `system`, or
40
49
#
50
+
# @param phase [Symbol, OpenAI::Models::Responses::EasyInputMessage::Phase, nil] Labels an assistant message as intermediate commentary ("commentary") or the fin
51
+
#
41
52
# @param type [Symbol, OpenAI::Models::Responses::EasyInputMessage::Type] The type of the message input. Always `message`.
42
53
43
54
# Text, image, or audio input to the model, used to generate a response. Can also
@@ -74,6 +85,21 @@ module Role
74
85
# @return [Array<Symbol>]
75
86
end
76
87
88
+
# Labels an assistant message as intermediate commentary ("commentary") or the
89
+
# final answer ("final_answer"). For models like gpt-5.3-codex and beyond, when
90
+
# sending follow-up requests, preserve and resend phase on all assistant messages
91
+
# — dropping it can degrade performance. Not used for user messages.
# Some parameter documentations has been truncated, see
41
50
# {OpenAI::Models::Responses::ResponseOutputMessage} for more details.
42
51
#
@@ -48,6 +57,8 @@ class ResponseOutputMessage < OpenAI::Internal::Type::BaseModel
48
57
#
49
58
# @param status [Symbol, OpenAI::Models::Responses::ResponseOutputMessage::Status] The status of the message input. One of `in_progress`, `completed`, or
50
59
#
60
+
# @param phase [Symbol, OpenAI::Models::Responses::ResponseOutputMessage::Phase, nil] Labels an assistant message as intermediate commentary ("commentary") or the fin
61
+
#
51
62
# @param role [Symbol, :assistant] The role of the output message. Always `assistant`.
52
63
#
53
64
# @param type [Symbol, :message] The type of the output message. Always `message`.
@@ -82,6 +93,21 @@ module Status
82
93
# @!method self.values
83
94
# @return [Array<Symbol>]
84
95
end
96
+
97
+
# Labels an assistant message as intermediate commentary ("commentary") or the
98
+
# final answer ("final_answer"). For models like gpt-5.3-codex and beyond, when
99
+
# sending follow-up requests, preserve and resend phase on all assistant messages
100
+
# — dropping it can degrade performance. Not used for user messages.
# @param model [Symbol, String, OpenAI::Models::Responses::ResponseCompactParams::Model, nil] Model ID used to generate the response, like `gpt-5` or `o3`. OpenAI offers a wi
0 commit comments