Class: OpenAI::Models::Responses::ResponseItem::LocalShellCall
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseItem::LocalShellCall
- Defined in:
- lib/openai/models/responses/response_item.rb
Defined Under Namespace
Modules: Status Classes: Action
Instance Attribute Summary collapse
-
#action ⇒ OpenAI::Models::Responses::ResponseItem::LocalShellCall::Action
Execute a shell command on the server.
-
#call_id ⇒ String
The unique ID of the local shell tool call generated by the model.
-
#id ⇒ String
The unique ID of the local shell call.
-
#status ⇒ Symbol, OpenAI::Models::Responses::ResponseItem::LocalShellCall::Status
The status of the local shell call.
-
#type ⇒ Symbol, :local_shell_call
The type of the local shell call.
Instance Method Summary collapse
-
#initialize(command: , env: , timeout_ms: nil, user: nil, working_directory: nil, type: :exec) ⇒ Object
constructor
Some parameter documentations has been truncated, see Action for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, 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, #dump, dump, #inspect, inspect, 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(command: , env: , timeout_ms: nil, user: nil, working_directory: nil, type: :exec) ⇒ Object
Some parameter documentations has been truncated, see Action for more details.
Execute a shell command on the server.
|
# File 'lib/openai/models/responses/response_item.rb', line 147
|
Instance Attribute Details
#action ⇒ OpenAI::Models::Responses::ResponseItem::LocalShellCall::Action
Execute a shell command on the server.
127 |
# File 'lib/openai/models/responses/response_item.rb', line 127 required :action, -> { OpenAI::Responses::ResponseItem::LocalShellCall::Action } |
#call_id ⇒ String
The unique ID of the local shell tool call generated by the model.
133 |
# File 'lib/openai/models/responses/response_item.rb', line 133 required :call_id, String |
#id ⇒ String
The unique ID of the local shell call.
121 |
# File 'lib/openai/models/responses/response_item.rb', line 121 required :id, String |
#status ⇒ Symbol, OpenAI::Models::Responses::ResponseItem::LocalShellCall::Status
The status of the local shell call.
139 |
# File 'lib/openai/models/responses/response_item.rb', line 139 required :status, enum: -> { OpenAI::Responses::ResponseItem::LocalShellCall::Status } |
#type ⇒ Symbol, :local_shell_call
The type of the local shell call. Always ‘local_shell_call`.
145 |
# File 'lib/openai/models/responses/response_item.rb', line 145 required :type, const: :local_shell_call |