Module: OpenAI::Models::Responses::ResponseFunctionShellToolCall::Environment

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/responses/response_function_shell_tool_call.rb,
sig/openai/models/responses/response_function_shell_tool_call.rbs

Overview

Represents the use of a local environment to perform shell actions.

See Also:

  • OpenAI::Models::Responses::ResponseFunctionShellToolCall#environment

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#self?.variants::Array[OpenAI::Models::Responses::ResponseFunctionShellToolCall::environment]

Returns:

  • (::Array[OpenAI::Models::Responses::ResponseFunctionShellToolCall::environment])


91
# File 'sig/openai/models/responses/response_function_shell_tool_call.rbs', line 91

def self?.variants: -> ::Array[OpenAI::Models::Responses::ResponseFunctionShellToolCall::environment]