ภาษา

ProjectsAgentsModelFactory.ToolboxShellEnvironment(String) Method

Definition

An execution environment for a shell tool stored in a toolbox. This environment model is scoped to toolbox configuration and does not modify the OpenAI shell environment contract. Please note this is the abstract base class. The derived classes available for instantiation are: ToolboxShellContainerAutoEnvironment and ToolboxShellContainerReferenceEnvironment.

public static Azure.AI.Projects.Agents.ToolboxShellEnvironment ToolboxShellEnvironment(string type = default);
static member ToolboxShellEnvironment : string -> Azure.AI.Projects.Agents.ToolboxShellEnvironment
Public Shared Function ToolboxShellEnvironment (Optional type As String = Nothing) As ToolboxShellEnvironment

Parameters

type
String

The type of the shell execution environment.

Returns

A new ToolboxShellEnvironment instance for mocking.

Applies to