Class: OpenAI::Models::Responses::ResponseOutputItem::LocalShellCall::Action
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseOutputItem::LocalShellCall::Action
- Defined in:
- lib/openai/models/responses/response_output_item.rb
Overview
Instance Attribute Summary collapse
-
#command ⇒ Array<String>
The command to run.
-
#env ⇒ Hash{Symbol=>String}
Environment variables to set for the command.
-
#timeout_ms ⇒ Integer?
Optional timeout in milliseconds for the command.
-
#type ⇒ Symbol, :exec
The type of the local shell action.
-
#user ⇒ String?
Optional user to run the command as.
-
#working_directory ⇒ String?
Optional working directory to run the command in.
Method Summary
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from OpenAI::Internal::Type::BaseModel
Instance Attribute Details
#command ⇒ Array<String>
The command to run.
165 |
# File 'lib/openai/models/responses/response_output_item.rb', line 165 required :command, OpenAI::Internal::Type::ArrayOf[String] |
#env ⇒ Hash{Symbol=>String}
Environment variables to set for the command.
171 |
# File 'lib/openai/models/responses/response_output_item.rb', line 171 required :env, OpenAI::Internal::Type::HashOf[String] |
#timeout_ms ⇒ Integer?
Optional timeout in milliseconds for the command.
183 |
# File 'lib/openai/models/responses/response_output_item.rb', line 183 optional :timeout_ms, Integer, nil?: true |
#type ⇒ Symbol, :exec
The type of the local shell action. Always ‘exec`.
177 |
# File 'lib/openai/models/responses/response_output_item.rb', line 177 required :type, const: :exec |
#user ⇒ String?
Optional user to run the command as.
189 |
# File 'lib/openai/models/responses/response_output_item.rb', line 189 optional :user, String, nil?: true |
#working_directory ⇒ String?
Optional working directory to run the command in.
195 |
# File 'lib/openai/models/responses/response_output_item.rb', line 195 optional :working_directory, String, nil?: true |