Class: OpenAI::Models::Responses::ResponseInputItem::ShellCallOutput

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/responses/response_input_item.rb

Instance Attribute Summary collapse

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_idString

The unique ID of the shell tool call generated by the model.

Returns:

  • (String)


718
# File 'lib/openai/models/responses/response_input_item.rb', line 718

required :call_id, String

#idString?

The unique ID of the shell tool call output. Populated when this item is returned via API.

Returns:

  • (String, nil)


739
# File 'lib/openai/models/responses/response_input_item.rb', line 739

optional :id, String, nil?: true

#max_output_lengthInteger?

The maximum number of UTF-8 characters captured for this shell call’s combined output.

Returns:

  • (Integer, nil)


746
# File 'lib/openai/models/responses/response_input_item.rb', line 746

optional :max_output_length, Integer, nil?: true

#outputArray<OpenAI::Models::Responses::ResponseFunctionShellCallOutputContent>

Captured chunks of stdout and stderr output, along with their associated outcomes.



725
726
# File 'lib/openai/models/responses/response_input_item.rb', line 725

required :output,
-> { OpenAI::Internal::Type::ArrayOf[OpenAI::Responses::ResponseFunctionShellCallOutputContent] }

#typeSymbol, :shell_call_output

The type of the item. Always ‘shell_call_output`.

Returns:

  • (Symbol, :shell_call_output)


732
# File 'lib/openai/models/responses/response_input_item.rb', line 732

required :type, const: :shell_call_output