class

OpenAI::FunctionShellCallOutputExitOutcomeParam

Inherits JSON::Serializable < Reference < Object

Indicates that the shell commands finished and returned an exit code.

Constructors

new(type_value : FunctionShellCallOutputExitOutcomeParamType = FunctionShellCallOutputExitOutcomeParamType::Exit, exit_code : Int64 = 0)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

exit_code

The exit code returned by the shell process.

Source
exit_code=(exit_code : Int64)

The exit code returned by the shell process.

Source
type_value

The outcome type. Always exit.

Source
type_value=(type_value : FunctionShellCallOutputExitOutcomeParamType)

The outcome type. Always exit.

Source