Class: OpenAI::Models::Responses::ResponseInputItem::ShellCall
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseInputItem::ShellCall
- Defined in:
- lib/openai/models/responses/response_input_item.rb
Defined Under Namespace
Modules: Status Classes: Action
Instance Attribute Summary collapse
-
#action ⇒ OpenAI::Models::Responses::ResponseInputItem::ShellCall::Action
The shell commands and limits that describe how to run the tool call.
-
#call_id ⇒ String
The unique ID of the function shell tool call generated by the model.
-
#id ⇒ String?
The unique ID of the function shell tool call.
-
#status ⇒ Symbol, ...
The status of the shell call.
-
#type ⇒ Symbol, :shell_call
The type of the item.
Instance Method Summary collapse
-
#initialize(commands: , max_output_length: nil, timeout_ms: nil) ⇒ 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, 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(commands: , max_output_length: nil, timeout_ms: nil) ⇒ Object
Some parameter documentations has been truncated, see Action for more details.
The shell commands and limits that describe how to run the tool call.
|
|
# File 'lib/openai/models/responses/response_input_item.rb', line 643
|
Instance Attribute Details
#action ⇒ OpenAI::Models::Responses::ResponseInputItem::ShellCall::Action
The shell commands and limits that describe how to run the tool call.
615 |
# File 'lib/openai/models/responses/response_input_item.rb', line 615 required :action, -> { OpenAI::Responses::ResponseInputItem::ShellCall::Action } |
#call_id ⇒ String
The unique ID of the function shell tool call generated by the model.
621 |
# File 'lib/openai/models/responses/response_input_item.rb', line 621 required :call_id, String |
#id ⇒ String?
The unique ID of the function shell tool call. Populated when this item is returned via API.
634 |
# File 'lib/openai/models/responses/response_input_item.rb', line 634 optional :id, String, nil?: true |
#status ⇒ Symbol, ...
The status of the shell call. One of ‘in_progress`, `completed`, or `incomplete`.
641 |
# File 'lib/openai/models/responses/response_input_item.rb', line 641 optional :status, enum: -> { OpenAI::Responses::ResponseInputItem::ShellCall::Status }, nil?: true |
#type ⇒ Symbol, :shell_call
The type of the item. Always ‘function_shell_call`.
627 |
# File 'lib/openai/models/responses/response_input_item.rb', line 627 required :type, const: :shell_call |