Module: OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::Skill

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

Defined Under Namespace

Classes: Inline, SkillReference

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

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

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, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info

Class Method Details

.variants ⇒ ::Array[OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::skill]

Returns:

  • (::Array[OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::skill])


1045
# File 'sig/openai/models/live/responses_delegation_update_config.rbs', line 1045

def self?.variants: -> ::Array[OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::skill]

Instance Method Details

#initialize(skill_id:, version: nil, type: :skill_reference) ⇒ Object

Parameters:

  • skill_id (String) —

    The ID of the referenced skill.

  • version (String, nil) (defaults to: nil) —

    Optional skill version. Use a positive integer or 'latest'. Omit for default.

  • type (Symbol, :skill_reference) (defaults to: :skill_reference) —

    References a skill created with the /v1/skills endpoint.



# File 'lib/openai/models/live/responses_delegation_update_config.rb', line 1107