Class: OpenAI::Models::Beta::Agents::Environments::TemplateCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::Agents::Environments::TemplateCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/openai/models/beta/agents/environments/template_create_params.rb,
sig/openai/models/beta/agents/environments/template_create_params.rbs
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#capability_directories ⇒ Array<String>?
Directories that contain capabilities exposed to the agent.
-
#env ⇒ Hash{Symbol=>String}?
Environment variables made available to the agent.
-
#files ⇒ Array<OpenAI::Models::Beta::HostedEnvironmentFileParam::FileID, OpenAI::Models::Beta::HostedEnvironmentFileParam::Inline>?
Files available before the agent starts.
-
#name ⇒ String?
An optional human-readable display name for the template.
-
#network ⇒ OpenAI::Models::Beta::Agents::Environments::TemplateCreateParams::Network?
Network access for an OpenAI-hosted environment.
-
#packages ⇒ OpenAI::Models::Beta::Agents::Environments::TemplateCreateParams::Packages?
Packages to install in an OpenAI-hosted environment.
-
#plugins ⇒ Array<OpenAI::Models::Beta::HostedPluginParam>?
Plugins provided as inline ZIP archives.
-
#setup_commands ⇒ Array<OpenAI::Models::Beta::SetupCommandParam>?
Ordered, confidential setup commands.
-
#skills ⇒ Array<OpenAI::Models::Beta::HostedSkillParam::SkillReference, OpenAI::Models::Beta::HostedSkillParam::Inline>?
Skills referenced by ID or provided as inline ZIP archives.
Attributes included from Internal::Type::RequestParameters
Attributes inherited from Internal::Type::BaseModel
Class Method Summary collapse
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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_with_error, dump, #dump, #inspect, inspect, meta_info, new_coerce_state, 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 ⇒ Object
42 |
# File 'sig/openai/models/beta/agents/environments/template_create_params.rbs', line 42
def initialize: (
|
Instance Attribute Details
#capability_directories ⇒ Array<String>?
Directories that contain capabilities exposed to the agent. Defaults to an empty list.
18 |
# File 'lib/openai/models/beta/agents/environments/template_create_params.rb', line 18 optional :capability_directories, OpenAI::Internal::Type::ArrayOf[String], nil?: true |
#env ⇒ Hash{Symbol=>String}?
Environment variables made available to the agent.
24 |
# File 'lib/openai/models/beta/agents/environments/template_create_params.rb', line 24 optional :env, OpenAI::Internal::Type::HashOf[String], nil?: true |
#files ⇒ Array<OpenAI::Models::Beta::HostedEnvironmentFileParam::FileID, OpenAI::Models::Beta::HostedEnvironmentFileParam::Inline>?
Files available before the agent starts. Defaults to an empty list.
30 31 32 33 34 |
# File 'lib/openai/models/beta/agents/environments/template_create_params.rb', line 30 optional( :files, -> { OpenAI::Internal::Type::ArrayOf[union: OpenAI::Beta::HostedEnvironmentFileParam] }, nil?: true ) |
#name ⇒ String?
An optional human-readable display name for the template.
40 |
# File 'lib/openai/models/beta/agents/environments/template_create_params.rb', line 40 optional :name, String, nil?: true |
#network ⇒ OpenAI::Models::Beta::Agents::Environments::TemplateCreateParams::Network?
Network access for an OpenAI-hosted environment.
46 47 48 49 50 51 52 |
# File 'lib/openai/models/beta/agents/environments/template_create_params.rb', line 46 optional( :network, -> { OpenAI::Beta::Agents::Environments::TemplateCreateParams::Network }, nil?: true ) |
#packages ⇒ OpenAI::Models::Beta::Agents::Environments::TemplateCreateParams::Packages?
Packages to install in an OpenAI-hosted environment.
58 59 60 61 62 63 64 |
# File 'lib/openai/models/beta/agents/environments/template_create_params.rb', line 58 optional( :packages, -> { OpenAI::Beta::Agents::Environments::TemplateCreateParams::Packages }, nil?: true ) |
#plugins ⇒ Array<OpenAI::Models::Beta::HostedPluginParam>?
Plugins provided as inline ZIP archives. Defaults to an empty list.
70 71 72 73 74 75 76 |
# File 'lib/openai/models/beta/agents/environments/template_create_params.rb', line 70 optional( :plugins, -> { OpenAI::Internal::Type::ArrayOf[OpenAI::Beta::HostedPluginParam] }, nil?: true ) |
#setup_commands ⇒ Array<OpenAI::Models::Beta::SetupCommandParam>?
Ordered, confidential setup commands. Command bodies are never returned.
82 83 84 85 86 |
# File 'lib/openai/models/beta/agents/environments/template_create_params.rb', line 82 optional( :setup_commands, -> { OpenAI::Internal::Type::ArrayOf[OpenAI::Beta::SetupCommandParam] }, nil?: true ) |
#skills ⇒ Array<OpenAI::Models::Beta::HostedSkillParam::SkillReference, OpenAI::Models::Beta::HostedSkillParam::Inline>?
Skills referenced by ID or provided as inline ZIP archives. Defaults to an empty list.
93 94 95 96 97 |
# File 'lib/openai/models/beta/agents/environments/template_create_params.rb', line 93 optional( :skills, -> { OpenAI::Internal::Type::ArrayOf[union: OpenAI::Beta::HostedSkillParam] }, nil?: true ) |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openai/models/beta/agents/environments/template_create_params.rb', line 168
|
Instance Method Details
#to_hash ⇒ {
55 |
# File 'sig/openai/models/beta/agents/environments/template_create_params.rbs', line 55
def to_hash: -> {
|