From a3c7a066f5cf190e3f67ac92523ae9cdf25d7cf3 Mon Sep 17 00:00:00 2001 From: markstuart-oai <323302876+markstuart-oai@users.noreply.github.com> Date: Mon, 21 Sep 2026 02:19:24 +0000 Subject: [PATCH] chore(api): clarify computer call output identifiers Castiron-Internal-PR: https://github.com/openai/openai-ruby-internal/pull/131 Castiron-Source-SHA: 5d0781ac605ef4ebc421546b7e76078985afb4d9 Castiron-Public-Base-SHA: 33435479c2d98603b93c810183d314bc55cd1ee7 --- .castiron.stats.yml | 14 +++++++------- api_reference/openapi.transformed.yml | 10 ++-------- ...beta_response_computer_tool_call_output_item.rb | 4 ++-- .../response_computer_tool_call_output_item.rb | 4 ++-- ...eta_response_computer_tool_call_output_item.rbi | 4 ++-- .../response_computer_tool_call_output_item.rbi | 4 ++-- ...eta_response_computer_tool_call_output_item.rbs | 4 ++-- .../response_computer_tool_call_output_item.rbs | 4 ++-- 8 files changed, 21 insertions(+), 27 deletions(-) diff --git a/.castiron.stats.yml b/.castiron.stats.yml index 516b8e5e0..d8eb20f33 100644 --- a/.castiron.stats.yml +++ b/.castiron.stats.yml @@ -1,8 +1,8 @@ schema_version: 1 -generation_id: cf94c82f-0604-4dfc-aff0-cec482e84953 -openapi_spec_hash: ce912f79d7f8cb19a7a515513c214b8a -openapi_transformed_spec_hash: 352b5a7a028f990b6475b6593e381eee -config_hash: dde98d9c41cd6f4163320f92c70f83e6 -codegen_sha: 326831af0c0fdf859335a189df2b6716e4b605d4 -codegen_hash: 00e7f6a53e1a6a1adf02385bc368fce999fdd775d1f1c28615f790c7a4109ad0 -public_codegen_sha: c2abe7c282c83c8fb9a7330254235c20b67a2b10 +generation_id: 8d8fc79d-a2dc-42f8-8a28-9a730229df61 +openapi_spec_hash: bec659f238c6ef392d08d26a3e4e4229 +openapi_transformed_spec_hash: 0ff6b899446d380689591b975ab4ffb3 +config_hash: ab0205488db175e94f3642c8f0eb2d9a +codegen_sha: 2d54506b427b25add920bcfe571d24a68a256651 +codegen_hash: b527c98cafb5c0d9126d931fa97cc3ff4b4b297917e441fc534c40eefa93d958 +public_codegen_sha: f53706383a9ce3b6e61732cf11b007a060264a94 diff --git a/api_reference/openapi.transformed.yml b/api_reference/openapi.transformed.yml index 30f3e6581..90f374c39 100644 --- a/api_reference/openapi.transformed.yml +++ b/api_reference/openapi.transformed.yml @@ -34736,10 +34736,6 @@ components: - $ref: '#/components/schemas/ComputerToolCallOutput' - type: object properties: - id: - type: string - description: | - The unique ID of the computer call tool output. status: description: | The status of the message input. One of `in_progress`, `completed`, or @@ -80509,6 +80505,7 @@ components: - $ref: '#/components/schemas/ReasoningEffortParam' - type: 'null' description: Omit to keep the current effort. Null selects the model's default effort. + x-openai-go-optional-enum: true additionalProperties: false description: Reasoning effort for subsequent turns. The reasoning summary stays unchanged. UpdateSessionAgentParam: @@ -80527,6 +80524,7 @@ components: - $ref: '#/components/schemas/ServiceTierParam' - type: 'null' description: Omit to keep the current tier. Null resets it to auto. + x-openai-go-optional-enum: true additionalProperties: false description: Model settings that can change after session creation. UpdateAgentSessionParams: @@ -90315,10 +90313,6 @@ components: - $ref: '#/components/schemas/BetaComputerToolCallOutput' - type: object properties: - id: - type: string - description: | - The unique ID of the computer call tool output. status: description: | The status of the message input. One of `in_progress`, `completed`, or diff --git a/lib/openai/models/beta/beta_response_computer_tool_call_output_item.rb b/lib/openai/models/beta/beta_response_computer_tool_call_output_item.rb index c469adaf5..0fc86ddca 100644 --- a/lib/openai/models/beta/beta_response_computer_tool_call_output_item.rb +++ b/lib/openai/models/beta/beta_response_computer_tool_call_output_item.rb @@ -5,7 +5,7 @@ module Models module Beta class BetaResponseComputerToolCallOutputItem < OpenAI::Internal::Type::BaseModel # @!attribute id - # The unique ID of the computer call tool output. + # The ID of the computer tool call output. # # @return [String] required :id, String @@ -63,7 +63,7 @@ class BetaResponseComputerToolCallOutputItem < OpenAI::Internal::Type::BaseModel # @!method initialize(id:, call_id:, output:, status:, acknowledged_safety_checks: nil, agent: nil, created_by: nil, type: :computer_call_output) # @param id [String] - # The unique ID of the computer call tool output. + # The ID of the computer tool call output. # # @param call_id [String] # The ID of the computer tool call that produced the output. diff --git a/lib/openai/models/responses/response_computer_tool_call_output_item.rb b/lib/openai/models/responses/response_computer_tool_call_output_item.rb index 6b97e74d8..d6fd00f23 100644 --- a/lib/openai/models/responses/response_computer_tool_call_output_item.rb +++ b/lib/openai/models/responses/response_computer_tool_call_output_item.rb @@ -5,7 +5,7 @@ module Models module Responses class ResponseComputerToolCallOutputItem < OpenAI::Internal::Type::BaseModel # @!attribute id - # The unique ID of the computer call tool output. + # The ID of the computer tool call output. # # @return [String] required :id, String @@ -57,7 +57,7 @@ class ResponseComputerToolCallOutputItem < OpenAI::Internal::Type::BaseModel # @!method initialize(id:, call_id:, output:, status:, acknowledged_safety_checks: nil, created_by: nil, type: :computer_call_output) # @param id [String] - # The unique ID of the computer call tool output. + # The ID of the computer tool call output. # # @param call_id [String] # The ID of the computer tool call that produced the output. diff --git a/rbi/openai/models/beta/beta_response_computer_tool_call_output_item.rbi b/rbi/openai/models/beta/beta_response_computer_tool_call_output_item.rbi index 6a3a64a23..98e9ab03c 100644 --- a/rbi/openai/models/beta/beta_response_computer_tool_call_output_item.rbi +++ b/rbi/openai/models/beta/beta_response_computer_tool_call_output_item.rbi @@ -16,7 +16,7 @@ module OpenAI ) end - # The unique ID of the computer call tool output. + # The ID of the computer tool call output. sig { returns(String) } attr_accessor :id @@ -96,7 +96,7 @@ module OpenAI end def self.new( - # The unique ID of the computer call tool output. + # The ID of the computer tool call output. id:, # The ID of the computer tool call that produced the output. diff --git a/rbi/openai/models/responses/response_computer_tool_call_output_item.rbi b/rbi/openai/models/responses/response_computer_tool_call_output_item.rbi index 3ec38a7cb..8b4c1debc 100644 --- a/rbi/openai/models/responses/response_computer_tool_call_output_item.rbi +++ b/rbi/openai/models/responses/response_computer_tool_call_output_item.rbi @@ -14,7 +14,7 @@ module OpenAI ) end - # The unique ID of the computer call tool output. + # The ID of the computer tool call output. sig { returns(String) } attr_accessor :id @@ -85,7 +85,7 @@ module OpenAI end def self.new( - # The unique ID of the computer call tool output. + # The ID of the computer tool call output. id:, # The ID of the computer tool call that produced the output. diff --git a/sig/openai/models/beta/beta_response_computer_tool_call_output_item.rbs b/sig/openai/models/beta/beta_response_computer_tool_call_output_item.rbs index 996315fdd..45e5a8459 100644 --- a/sig/openai/models/beta/beta_response_computer_tool_call_output_item.rbs +++ b/sig/openai/models/beta/beta_response_computer_tool_call_output_item.rbs @@ -16,7 +16,7 @@ module OpenAI } class BetaResponseComputerToolCallOutputItem < OpenAI::Internal::Type::BaseModel - # The unique ID of the computer call tool output. + # The ID of the computer tool call output. attr_accessor id: String # The ID of the computer tool call that produced the output. @@ -52,7 +52,7 @@ module OpenAI def created_by=: (String) -> String # @param id - # The unique ID of the computer call tool output. + # The ID of the computer tool call output. # @param call_id # The ID of the computer tool call that produced the output. # @param output diff --git a/sig/openai/models/responses/response_computer_tool_call_output_item.rbs b/sig/openai/models/responses/response_computer_tool_call_output_item.rbs index 2f34e20dc..20edee949 100644 --- a/sig/openai/models/responses/response_computer_tool_call_output_item.rbs +++ b/sig/openai/models/responses/response_computer_tool_call_output_item.rbs @@ -13,7 +13,7 @@ module OpenAI } class ResponseComputerToolCallOutputItem < OpenAI::Internal::Type::BaseModel - # The unique ID of the computer call tool output. + # The ID of the computer tool call output. attr_accessor id: String # The ID of the computer tool call that produced the output. @@ -46,7 +46,7 @@ module OpenAI def created_by=: (String) -> String # @param id - # The unique ID of the computer call tool output. + # The ID of the computer tool call output. # @param call_id # The ID of the computer tool call that produced the output. # @param output