Skip to content

Commit 37d3252

Browse files
fix(api): manual updates
1 parent 5f65640 commit 37d3252

5 files changed

Lines changed: 52 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 147
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-ca4985bc94b25eac84a5d7538d1bdf134c9b99dae9e95f1eae0aae90130c4bf8.yml
3-
openapi_spec_hash: 855db4b2dbaf3f8f83afe0df66397c02
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-4432c056f89389d4d43b695cbdf44f97df8169f63bbae2c15fc079a5766ced6e.yml
3+
openapi_spec_hash: cbf649cc2c944fb3f77450ec752ab1e9
44
config_hash: 7f49c38fa3abe9b7038ffe62262c4912

lib/openai/models/responses/easy_input_message.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ class EasyInputMessage < OpenAI::Internal::Type::BaseModel
2424
# sending follow-up requests, preserve and resend phase on all assistant messages
2525
# — dropping it can degrade performance. Not used for user messages.
2626
#
27+
# Use `commentary` for an intermediate assistant message and `final_answer` for
28+
# the final assistant message. For follow-up requests with models like
29+
# `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages.
30+
# Omitting it can degrade performance. Not used for user messages.
31+
#
2732
# @return [Symbol, OpenAI::Models::Responses::EasyInputMessage::Phase, nil]
2833
optional :phase, enum: -> { OpenAI::Responses::EasyInputMessage::Phase }, nil?: true
2934

@@ -90,6 +95,11 @@ module Role
9095
# sending follow-up requests, preserve and resend phase on all assistant messages
9196
# — dropping it can degrade performance. Not used for user messages.
9297
#
98+
# Use `commentary` for an intermediate assistant message and `final_answer` for
99+
# the final assistant message. For follow-up requests with models like
100+
# `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages.
101+
# Omitting it can degrade performance. Not used for user messages.
102+
#
93103
# @see OpenAI::Models::Responses::EasyInputMessage#phase
94104
module Phase
95105
extend OpenAI::Internal::Type::Enum

lib/openai/models/responses/response_output_message.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ class ResponseOutputMessage < OpenAI::Internal::Type::BaseModel
4242
# sending follow-up requests, preserve and resend phase on all assistant messages
4343
# — dropping it can degrade performance. Not used for user messages.
4444
#
45+
# Use `commentary` for an intermediate assistant message and `final_answer` for
46+
# the final assistant message. For follow-up requests with models like
47+
# `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages.
48+
# Omitting it can degrade performance. Not used for user messages.
49+
#
4550
# @return [Symbol, OpenAI::Models::Responses::ResponseOutputMessage::Phase, nil]
4651
optional :phase, enum: -> { OpenAI::Responses::ResponseOutputMessage::Phase }, nil?: true
4752

@@ -99,6 +104,11 @@ module Status
99104
# sending follow-up requests, preserve and resend phase on all assistant messages
100105
# — dropping it can degrade performance. Not used for user messages.
101106
#
107+
# Use `commentary` for an intermediate assistant message and `final_answer` for
108+
# the final assistant message. For follow-up requests with models like
109+
# `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages.
110+
# Omitting it can degrade performance. Not used for user messages.
111+
#
102112
# @see OpenAI::Models::Responses::ResponseOutputMessage#phase
103113
module Phase
104114
extend OpenAI::Internal::Type::Enum

rbi/openai/models/responses/easy_input_message.rbi

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ module OpenAI
2626
# final answer (`final_answer`). For models like `gpt-5.3-codex` and beyond, when
2727
# sending follow-up requests, preserve and resend phase on all assistant messages
2828
# — dropping it can degrade performance. Not used for user messages.
29+
#
30+
# Use `commentary` for an intermediate assistant message and `final_answer` for
31+
# the final assistant message. For follow-up requests with models like
32+
# `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages.
33+
# Omitting it can degrade performance. Not used for user messages.
2934
sig do
3035
returns(
3136
T.nilable(OpenAI::Responses::EasyInputMessage::Phase::OrSymbol)
@@ -71,6 +76,11 @@ module OpenAI
7176
# final answer (`final_answer`). For models like `gpt-5.3-codex` and beyond, when
7277
# sending follow-up requests, preserve and resend phase on all assistant messages
7378
# — dropping it can degrade performance. Not used for user messages.
79+
#
80+
# Use `commentary` for an intermediate assistant message and `final_answer` for
81+
# the final assistant message. For follow-up requests with models like
82+
# `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages.
83+
# Omitting it can degrade performance. Not used for user messages.
7484
phase: nil,
7585
# The type of the message input. Always `message`.
7686
type: nil
@@ -158,6 +168,11 @@ module OpenAI
158168
# final answer (`final_answer`). For models like `gpt-5.3-codex` and beyond, when
159169
# sending follow-up requests, preserve and resend phase on all assistant messages
160170
# — dropping it can degrade performance. Not used for user messages.
171+
#
172+
# Use `commentary` for an intermediate assistant message and `final_answer` for
173+
# the final assistant message. For follow-up requests with models like
174+
# `gpt-5.3-codex` and later, preserve and resend phase on all assistant messages.
175+
# Omitting it can degrade performance. Not used for user messages.
161176
module Phase
162177
extend OpenAI::Internal::Type::Enum
163178

rbi/openai/models/responses/response_output_message.rbi

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)