Class: OpenAI::Models::Responses::ResponseOutputItem::LocalShellCall

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/responses/response_output_item.rb

Defined Under Namespace

Modules: Status Classes: Action

Instance Attribute Summary collapse

Instance Method Summary collapse

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, 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(command: , env: , timeout_ms: nil, user: nil, working_directory: nil, type: :exec) ⇒ void

Some parameter documentations has been truncated, see Action for more details.

Execute a shell command on the server.



# File 'lib/openai/models/responses/response_output_item.rb', line 142


Instance Attribute Details

#actionOpenAI::Models::Responses::ResponseOutputItem::LocalShellCall::Action

Execute a shell command on the server.



122
# File 'lib/openai/models/responses/response_output_item.rb', line 122

required :action, -> { OpenAI::Responses::ResponseOutputItem::LocalShellCall::Action }

#call_idString

The unique ID of the local shell tool call generated by the model.



128
# File 'lib/openai/models/responses/response_output_item.rb', line 128

required :call_id, String

#idString

The unique ID of the local shell call.



116
# File 'lib/openai/models/responses/response_output_item.rb', line 116

required :id, String

#statusSymbol, OpenAI::Models::Responses::ResponseOutputItem::LocalShellCall::Status

The status of the local shell call.



134
# File 'lib/openai/models/responses/response_output_item.rb', line 134

required :status, enum: -> { OpenAI::Responses::ResponseOutputItem::LocalShellCall::Status }

#typeSymbol, :local_shell_call

The type of the local shell call. Always local_shell_call.



140
# File 'lib/openai/models/responses/response_output_item.rb', line 140

required :type, const: :local_shell_call