@@ -48,6 +48,11 @@ module OpenAI
4848 # final answer (`final_answer`). For models like `gpt-5.3-codex` and beyond, when
4949 # sending follow-up requests, preserve and resend phase on all assistant messages
5050 # — dropping it can degrade performance. Not used for user messages.
51+ #
52+ # Use `commentary` for an intermediate assistant message and `final_answer` for
53+ # the final assistant message. For follow-up requests with models like
54+ # `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages.
55+ # Omitting it can degrade performance. Not used for user messages.
5156 sig do
5257 returns (
5358 T . nilable ( OpenAI ::Responses ::ResponseOutputMessage ::Phase ::OrSymbol )
@@ -87,6 +92,11 @@ module OpenAI
8792 # final answer (`final_answer`). For models like `gpt-5.3-codex` and beyond, when
8893 # sending follow-up requests, preserve and resend phase on all assistant messages
8994 # — dropping it can degrade performance. Not used for user messages.
95+ #
96+ # Use `commentary` for an intermediate assistant message and `final_answer` for
97+ # the final assistant message. For follow-up requests with models like
98+ # `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages.
99+ # Omitting it can degrade performance. Not used for user messages.
90100 phase : nil ,
91101 # The role of the output message. Always `assistant`.
92102 role : :assistant ,
@@ -185,6 +195,11 @@ module OpenAI
185195 # final answer (`final_answer`). For models like `gpt-5.3-codex` and beyond, when
186196 # sending follow-up requests, preserve and resend phase on all assistant messages
187197 # — dropping it can degrade performance. Not used for user messages.
198+ #
199+ # Use `commentary` for an intermediate assistant message and `final_answer` for
200+ # the final assistant message. For follow-up requests with models like
201+ # `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages.
202+ # Omitting it can degrade performance. Not used for user messages.
188203 module Phase
189204 extend OpenAI ::Internal ::Type ::Enum
190205
0 commit comments