Class: OpenAI::Models::Beta::EnvironmentParam::SelfHosted
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::EnvironmentParam::SelfHosted
- Defined in:
- lib/openai/models/beta/environment_param.rb,
sig/openai/models/beta/environment_param.rbs
Instance Attribute Summary collapse
-
#capability_directories ⇒ Array<String>?
Directories that contain capabilities exposed to the agent.
-
#type ⇒ Symbol, :self_hosted
The type of the object.
-
#workspace_directory ⇒ String
Absolute project directory inside the self-hosted environment.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(workspace_directory:, capability_directories: nil, type: :self_hosted) ⇒ Object
constructor
An application-hosted environment configured inline.
- #to_hash ⇒ {
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(workspace_directory:, capability_directories: nil, type: :self_hosted) ⇒ Object
An application-hosted environment configured inline.
|
|
# File 'lib/openai/models/beta/environment_param.rb', line 250
|
Instance Attribute Details
#capability_directories ⇒ Array<String>?
Directories that contain capabilities exposed to the agent. Defaults to an empty list.
248 |
# File 'lib/openai/models/beta/environment_param.rb', line 248 optional :capability_directories, OpenAI::Internal::Type::ArrayOf[String], nil?: true |
#type ⇒ Symbol, :self_hosted
The type of the object. Always self_hosted.
235 |
# File 'lib/openai/models/beta/environment_param.rb', line 235 required :type, const: :self_hosted |
#workspace_directory ⇒ String
Absolute project directory inside the self-hosted environment.
241 |
# File 'lib/openai/models/beta/environment_param.rb', line 241 required :workspace_directory, String |
Instance Method Details
#to_hash ⇒ {
172 |
# File 'sig/openai/models/beta/environment_param.rbs', line 172
def to_hash: -> {
|