Module: OpenAI::Models::Beta::Agents::AutomationEnvironment

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/beta/agents/automation_environment.rb,
sig/openai/models/beta/agents/automation_environment.rbs

Overview

Environment selection saved before an invocation creates its session.

Defined Under Namespace

Classes: None, OpenAIHosted, SelfHosted

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::Beta::Agents::AutomationEnvironment::None, OpenAI::Models::Beta::Agents::AutomationEnvironment::OpenAIHosted, OpenAI::Models::Beta::Agents::AutomationEnvironment::SelfHosted)



# File 'lib/openai/models/beta/agents/automation_environment.rb', line 434

Instance Method Details

#initialize(description:, name:, type: :inline) ⇒ Object

Safe metadata for an inline skill archive.

Parameters:

  • description (String) —

    The skill description declared in SKILL.md.

  • name (String) —

    The skill name declared in SKILL.md.

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

    The type of the object. Always inline.



# File 'lib/openai/models/beta/agents/automation_environment.rb', line 27