Class: OpenAI::Models::Responses::ResponseComputerToolCallOutputItem
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseComputerToolCallOutputItem
- Defined in:
- lib/openai/models/responses/response_computer_tool_call_output_item.rb
Defined Under Namespace
Modules: Status Classes: AcknowledgedSafetyCheck
Instance Attribute Summary collapse
-
#acknowledged_safety_checks ⇒ Array<OpenAI::Models::Responses::ResponseComputerToolCallOutputItem::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 unique ID of the computer call tool 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: , message: ) ⇒ 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: , message: ) ⇒ Object
A pending safety check for the computer call.
|
# File 'lib/openai/models/responses/response_computer_tool_call_output_item.rb', line 84
|
Instance Attribute Details
#acknowledged_safety_checks ⇒ Array<OpenAI::Models::Responses::ResponseComputerToolCallOutputItem::AcknowledgedSafetyCheck>?
The safety checks reported by the API that have been acknowledged by the developer.
36 37 38 39 |
# File 'lib/openai/models/responses/response_computer_tool_call_output_item.rb', line 36 optional :acknowledged_safety_checks, -> { OpenAI::Internal::Type::ArrayOf[OpenAI::Responses::ResponseComputerToolCallOutputItem::AcknowledgedSafetyCheck] } |
#call_id ⇒ String
The ID of the computer tool call that produced the output.
17 |
# File 'lib/openai/models/responses/response_computer_tool_call_output_item.rb', line 17 required :call_id, String |
#id ⇒ String
The unique ID of the computer call tool output.
11 |
# File 'lib/openai/models/responses/response_computer_tool_call_output_item.rb', line 11 required :id, String |
#output ⇒ OpenAI::Models::Responses::ResponseComputerToolCallOutputScreenshot
A computer screenshot image used with the computer use tool.
23 |
# File 'lib/openai/models/responses/response_computer_tool_call_output_item.rb', line 23 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.
46 |
# File 'lib/openai/models/responses/response_computer_tool_call_output_item.rb', line 46 optional :status, enum: -> { OpenAI::Responses::ResponseComputerToolCallOutputItem::Status } |
#type ⇒ Symbol, :computer_call_output
The type of the computer tool call output. Always ‘computer_call_output`.
29 |
# File 'lib/openai/models/responses/response_computer_tool_call_output_item.rb', line 29 required :type, const: :computer_call_output |