Class: OpenAI::Models::Responses::ResponseFunctionShellToolCallOutput
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseFunctionShellToolCallOutput
- Defined in:
- lib/openai/models/responses/response_function_shell_tool_call_output.rb
Defined Under Namespace
Classes: Output
Instance Attribute Summary collapse
-
#call_id ⇒ String
The unique ID of the shell tool call generated by the model.
- #created_by ⇒ String?
-
#id ⇒ String
The unique ID of the shell call output.
-
#max_output_length ⇒ Integer?
The maximum length of the shell command output.
-
#output ⇒ Array<OpenAI::Models::Responses::ResponseFunctionShellToolCallOutput::Output>
An array of shell call output contents.
-
#type ⇒ Symbol, :shell_call_output
The type of the shell call output.
Method Summary
Methods inherited from Internal::Type::BaseModel
#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from OpenAI::Internal::Type::BaseModel
Instance Attribute Details
#call_id ⇒ String
The unique ID of the shell tool call generated by the model.
18 |
# File 'lib/openai/models/responses/response_function_shell_tool_call_output.rb', line 18 required :call_id, String |
#created_by ⇒ String?
43 |
# File 'lib/openai/models/responses/response_function_shell_tool_call_output.rb', line 43 optional :created_by, String |
#id ⇒ String
The unique ID of the shell call output. Populated when this item is returned via API.
12 |
# File 'lib/openai/models/responses/response_function_shell_tool_call_output.rb', line 12 required :id, String |
#max_output_length ⇒ Integer?
The maximum length of the shell command output. This is generated by the model and should be passed back with the raw output.
25 |
# File 'lib/openai/models/responses/response_function_shell_tool_call_output.rb', line 25 required :max_output_length, Integer, nil?: true |
#output ⇒ Array<OpenAI::Models::Responses::ResponseFunctionShellToolCallOutput::Output>
An array of shell call output contents
31 32 |
# File 'lib/openai/models/responses/response_function_shell_tool_call_output.rb', line 31 required :output, -> { OpenAI::Internal::Type::ArrayOf[OpenAI::Responses::ResponseFunctionShellToolCallOutput::Output] } |
#type ⇒ Symbol, :shell_call_output
The type of the shell call output. Always ‘shell_call_output`.
38 |
# File 'lib/openai/models/responses/response_function_shell_tool_call_output.rb', line 38 required :type, const: :shell_call_output |