Share via


LocalShellAgentToolExecutionAction Constructor

Definition

Initializes a new instance of LocalShellAgentToolExecutionAction.

public LocalShellAgentToolExecutionAction(System.Collections.Generic.IEnumerable<string> command, System.Collections.Generic.IDictionary<string,string> env);
new Azure.AI.Projects.OpenAI.LocalShellAgentToolExecutionAction : seq<string> * System.Collections.Generic.IDictionary<string, string> -> Azure.AI.Projects.OpenAI.LocalShellAgentToolExecutionAction
Public Sub New (command As IEnumerable(Of String), env As IDictionary(Of String, String))

Parameters

command
IEnumerable<String>

The command to run.

env
IDictionary<String,String>

Environment variables to set for the command.

Exceptions

command or env is null.

Applies to