Class: OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell
- Defined in:
- lib/openai/models/live/responses_delegation_update_config.rb,
sig/openai/models/live/responses_delegation_update_config.rbs
Defined Under Namespace
Modules: Environment
Instance Attribute Summary collapse
- #environment ⇒ OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto, ...
- #type ⇒ Symbol, :shell
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(environment: nil, type: :shell) ⇒ Shell
constructor
A Responses shell tool.
- #to_hash ⇒ { ?type: :shell, ?environment: OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::environment? }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, 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(environment: nil, type: :shell) ⇒ Shell
A Responses shell tool. Use a hosted container or return local shell results with response.item.create. Domain secrets are not supported.
|
|
# File 'lib/openai/models/live/responses_delegation_update_config.rb', line 897
|
Instance Attribute Details
#environment ⇒ OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto, ...
891 892 893 894 895 |
# File 'lib/openai/models/live/responses_delegation_update_config.rb', line 891 optional( :environment, union: -> { OpenAI::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment }, nil?: true ) |
#type ⇒ Symbol, :shell
886 |
# File 'lib/openai/models/live/responses_delegation_update_config.rb', line 886 required :type, const: :shell |
Instance Method Details
#to_hash ⇒ { ?type: :shell, ?environment: OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::environment? }
771 772 773 774 |
# File 'sig/openai/models/live/responses_delegation_update_config.rbs', line 771
def to_hash: -> {
?type: :shell,
?environment: OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::environment?
}
|