Class: OpenAI::Models::Responses::ResponseInputItem::ComputerCallOutput
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseInputItem::ComputerCallOutput
- Defined in:
- lib/openai/models/responses/response_input_item.rb
Defined Under Namespace
Modules: Status Classes: AcknowledgedSafetyCheck
Instance Attribute Summary collapse
-
#acknowledged_safety_checks ⇒ Array<OpenAI::Models::Responses::ResponseInputItem::ComputerCallOutput::AcknowledgedSafetyCheck>?
The safety checks reported by the API that have been acknowledged by the developer.
-
#call_id ⇒ String
The ID of the computer tool call that produced the output.
-
#id ⇒ String?
The ID of the computer tool call output.
-
#output ⇒ OpenAI::Models::Responses::ResponseComputerToolCallOutputScreenshot
A computer screenshot image used with the computer use tool.
-
#status ⇒ Symbol, ...
The status of the message input.
-
#type ⇒ Symbol, :computer_call_output
The type of the computer tool call output.
Instance Method Summary collapse
-
#initialize(id: , code: nil, message: nil) ⇒ Object
constructor
A pending safety check for the computer call.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id: , code: nil, message: nil) ⇒ Object
A pending safety check for the computer call.
|
# File 'lib/openai/models/responses/response_input_item.rb', line 257
|
Instance Attribute Details
#acknowledged_safety_checks ⇒ Array<OpenAI::Models::Responses::ResponseInputItem::ComputerCallOutput::AcknowledgedSafetyCheck>?
The safety checks reported by the API that have been acknowledged by the developer.
204 205 206 207 208 |
# File 'lib/openai/models/responses/response_input_item.rb', line 204 optional :acknowledged_safety_checks, -> { OpenAI::Internal::Type::ArrayOf[OpenAI::Responses::ResponseInputItem::ComputerCallOutput::AcknowledgedSafetyCheck] }, nil?: true |
#call_id ⇒ String
The ID of the computer tool call that produced the output.
179 |
# File 'lib/openai/models/responses/response_input_item.rb', line 179 required :call_id, String |
#id ⇒ String?
The ID of the computer tool call output.
197 |
# File 'lib/openai/models/responses/response_input_item.rb', line 197 optional :id, String, nil?: true |
#output ⇒ OpenAI::Models::Responses::ResponseComputerToolCallOutputScreenshot
A computer screenshot image used with the computer use tool.
185 |
# File 'lib/openai/models/responses/response_input_item.rb', line 185 required :output, -> { OpenAI::Responses::ResponseComputerToolCallOutputScreenshot } |
#status ⇒ Symbol, ...
The status of the message input. One of ‘in_progress`, `completed`, or `incomplete`. Populated when input items are returned via API.
215 216 217 |
# File 'lib/openai/models/responses/response_input_item.rb', line 215 optional :status, enum: -> { OpenAI::Responses::ResponseInputItem::ComputerCallOutput::Status }, nil?: true |
#type ⇒ Symbol, :computer_call_output
The type of the computer tool call output. Always ‘computer_call_output`.
191 |
# File 'lib/openai/models/responses/response_input_item.rb', line 191 required :type, const: :computer_call_output |