Class: OpenAI::Models::Responses::ResponseInputItem::ComputerCallOutput::AcknowledgedSafetyCheck
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseInputItem::ComputerCallOutput::AcknowledgedSafetyCheck
- Defined in:
- lib/openai/models/responses/response_input_item.rb
Instance Attribute Summary collapse
-
#code ⇒ String?
The type of the pending safety check.
-
#id ⇒ String
The ID of the pending safety check.
-
#message ⇒ String?
Details about the pending safety check.
Instance Method Summary collapse
-
#initialize(call_id:, output:, id: nil, acknowledged_safety_checks: nil, status: nil, type: :computer_call_output) ⇒ Object
constructor
Some parameter documentations has been truncated, see OpenAI::Models::Responses::ResponseInputItem::ComputerCallOutput for more details.
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, meta_info, new_coerce_state, 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(call_id:, output:, id: nil, acknowledged_safety_checks: nil, status: nil, type: :computer_call_output) ⇒ Object
Some parameter documentations has been truncated, see OpenAI::Models::Responses::ResponseInputItem::ComputerCallOutput for more details.
The output of a computer tool call.
256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 |
# File 'lib/openai/models/responses/response_input_item.rb', line 256 class AcknowledgedSafetyCheck < OpenAI::Internal::Type::BaseModel # @!attribute id # The ID of the pending safety check. # # @return [String] required :id, String # @!attribute code # The type of the pending safety check. # # @return [String, nil] optional :code, String, nil?: true # @!attribute message # Details about the pending safety check. # # @return [String, nil] optional :message, String, nil?: true # @!method initialize(id:, code: nil, message: nil) # A pending safety check for the computer call. # # @param id [String] The ID of the pending safety check. # # @param code [String, nil] The type of the pending safety check. # # @param message [String, nil] Details about the pending safety check. end |
Instance Attribute Details
#code ⇒ String?
The type of the pending safety check.
267 |
# File 'lib/openai/models/responses/response_input_item.rb', line 267 optional :code, String, nil?: true |
#id ⇒ String
The ID of the pending safety check.
261 |
# File 'lib/openai/models/responses/response_input_item.rb', line 261 required :id, String |
#message ⇒ String?
Details about the pending safety check.
273 |
# File 'lib/openai/models/responses/response_input_item.rb', line 273 optional :message, String, nil?: true |