Class: OpenAI::Models::Beta::Environment::SelfHosted
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::Environment::SelfHosted
- Defined in:
- lib/openai/models/beta/environment.rb,
sig/openai/models/beta/environment.rbs
Instance Attribute Summary collapse
-
#capability_directories ⇒ Array<String>
Directories that contain capabilities exposed to the agent.
-
#id ⇒ String
The public ID of the environment.
-
#remote_url ⇒ String
Pass this URL unchanged to
codex exec-server --remotewhen connecting this environment. -
#type ⇒ Symbol, :self_hosted
The type of the object.
-
#workspace_directory ⇒ String
The absolute project directory inside the environment.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(id:, capability_directories:, remote_url:, workspace_directory:, type: :self_hosted) ⇒ Object
constructor
An environment hosted by the application.
- #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(id:, capability_directories:, remote_url:, workspace_directory:, type: :self_hosted) ⇒ Object
An environment hosted by the application.
|
|
# File 'lib/openai/models/beta/environment.rb', line 221
|
Instance Attribute Details
#capability_directories ⇒ Array<String>
Directories that contain capabilities exposed to the agent.
200 |
# File 'lib/openai/models/beta/environment.rb', line 200 required :capability_directories, OpenAI::Internal::Type::ArrayOf[String] |
#id ⇒ String
The public ID of the environment.
194 |
# File 'lib/openai/models/beta/environment.rb', line 194 required :id, String |
#remote_url ⇒ String
Pass this URL unchanged to codex exec-server --remote when connecting this
environment.
207 |
# File 'lib/openai/models/beta/environment.rb', line 207 required :remote_url, String |
#type ⇒ Symbol, :self_hosted
The type of the object. Always self_hosted.
213 |
# File 'lib/openai/models/beta/environment.rb', line 213 required :type, const: :self_hosted |
#workspace_directory ⇒ String
The absolute project directory inside the environment. Defaults to /workspace.
219 |
# File 'lib/openai/models/beta/environment.rb', line 219 required :workspace_directory, String |
Instance Method Details
#to_hash ⇒ {
168 |
# File 'sig/openai/models/beta/environment.rbs', line 168
def to_hash: -> {
|