Class: OpenAI::Models::Responses::ResponseOutputItem::LocalShellCall
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseOutputItem::LocalShellCall
- Defined in:
- lib/openai/models/responses/response_output_item.rb
Defined Under Namespace
Modules: Status Classes: Action
Instance Attribute Summary collapse
-
#action ⇒ OpenAI::Models::Responses::ResponseOutputItem::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::ResponseOutputItem::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_output_item.rb', line 142
|
Instance Attribute Details
#action ⇒ OpenAI::Models::Responses::ResponseOutputItem::LocalShellCall::Action
Execute a shell command on the server.
122 |
# File 'lib/openai/models/responses/response_output_item.rb', line 122 required :action, -> { OpenAI::Responses::ResponseOutputItem::LocalShellCall::Action } |
#call_id ⇒ String
The unique ID of the local shell tool call generated by the model.
128 |
# File 'lib/openai/models/responses/response_output_item.rb', line 128 required :call_id, String |
#id ⇒ String
The unique ID of the local shell call.
116 |
# File 'lib/openai/models/responses/response_output_item.rb', line 116 required :id, String |
#status ⇒ Symbol, OpenAI::Models::Responses::ResponseOutputItem::LocalShellCall::Status
The status of the local shell call.
134 |
# File 'lib/openai/models/responses/response_output_item.rb', line 134 required :status, enum: -> { OpenAI::Responses::ResponseOutputItem::LocalShellCall::Status } |
#type ⇒ Symbol, :local_shell_call
The type of the local shell call. Always ‘local_shell_call`.
140 |
# File 'lib/openai/models/responses/response_output_item.rb', line 140 required :type, const: :local_shell_call |