class

OpenAI::FunctionShellCallOutputExitOutcome

Inherits JSON::Serializable < Reference < Object

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

Constructors

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

Instance methods

exit_code

Exit code from the shell process.

Source
exit_code=(exit_code : Int64)

Exit code from the shell process.

Source
type_value

The outcome type. Always exit.

Source
type_value=(type_value : FunctionShellCallOutputExitOutcomeType)

The outcome type. Always exit.

Source