class

OpenAI::FunctionShellActionParam

Inherits JSON::Serializable < Reference < Object

Commands and limits describing how to run the shell tool call.

Constructors

new(commands : Array(String) = [] of String, timeout_ms : FunctionShellActionParamTimeoutMs | Nil = nil, max_output_length : FunctionShellActionParamMaxOutputLength | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

commands

Ordered shell commands for the execution environment to run.

Source
commands=(commands : Array(String))

Ordered shell commands for the execution environment to run.

Source
max_output_length
Source
max_output_length=(max_output_length : FunctionShellActionParamMaxOutputLength | Nil)
Source
timeout_ms
Source
timeout_ms=(timeout_ms : FunctionShellActionParamTimeoutMs | Nil)
Source