OpenAI::FunctionShellAction
Inherits JSON::Serializable < Reference < Object
Execute a shell command.
Constructors
new(pull : JSON::PullParser)
Sourcenew(commands : Array(String) = [] of String, timeout_ms : FunctionShellActionTimeoutMs = nil, max_output_length : FunctionShellActionMaxOutputLength = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
commands
Sourcemax_output_length
Sourcemax_output_length=(max_output_length : FunctionShellActionMaxOutputLength)
Sourcetimeout_ms
Sourcetimeout_ms=(timeout_ms : FunctionShellActionTimeoutMs)
Source