LocalShellAgentToolExecutionAction Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.