OpenAI::LocalShellExecAction
Inherits JSON::Serializable < Reference < Object
Execute a shell command on the server.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : LocalShellExecActionType = LocalShellExecActionType::Exec, command : Array(String) = [] of String, timeout_ms : LocalShellExecActionTimeoutMs | Nil = nil, working_directory : LocalShellExecActionWorkingDirectory | Nil = nil, env : Hash(String, String) = Hash(String, String).new, user : LocalShellExecActionUser | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
timeout_ms
Sourcetimeout_ms=(timeout_ms : LocalShellExecActionTimeoutMs | Nil)
Sourcetype_value=(type_value : LocalShellExecActionType)
The type of the local shell action. Always exec.
user
Sourceuser=(user : LocalShellExecActionUser | Nil)
Sourceworking_directory
Sourceworking_directory=(working_directory : LocalShellExecActionWorkingDirectory | Nil)
Source