OpenAI::FunctionShellActionParam
Inherits JSON::Serializable < Reference < Object
Commands and limits describing how to run the shell tool call.
Constructors
new(pull : JSON::PullParser)
Sourcenew(commands : Array(String) = [] of String, timeout_ms : FunctionShellActionParamTimeoutMs | Nil = nil, max_output_length : FunctionShellActionParamMaxOutputLength | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
Ordered shell commands for the execution environment to run.
max_output_length
Sourcemax_output_length=(max_output_length : FunctionShellActionParamMaxOutputLength | Nil)
Sourcetimeout_ms
Sourcetimeout_ms=(timeout_ms : FunctionShellActionParamTimeoutMs | Nil)
Source