OpenAI::FunctionShellCallOutputItemParam
Inherits JSON::Serializable < Reference < Object
The streamed output items emitted by a shell tool call.
Constructors
new(pull : JSON::PullParser)
Sourcenew(id : FunctionShellCallOutputItemParamId | Nil = nil, call_id : String = "", type_value : FunctionShellCallOutputItemParamType = FunctionShellCallOutputItemParamType::ShellCallOutput, output : Array(FunctionShellCallOutputContentParam) = [] of FunctionShellCallOutputContentParam, max_output_length : FunctionShellCallOutputItemParamMaxOutputLength | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
id
Sourceid=(id : FunctionShellCallOutputItemParamId | Nil)
Sourcemax_output_length
Sourcemax_output_length=(max_output_length : FunctionShellCallOutputItemParamMaxOutputLength | Nil)
SourceCaptured chunks of stdout and stderr output, along with their associated outcomes.
type_value=(type_value : FunctionShellCallOutputItemParamType)
The type of the item. Always shell_call_output.
validate!
Source