ProjectsAgentsModelFactory.AgentHarness(String) Method
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.
A managed runtime and agent loop used to execute a prompt agent. Please note this is the abstract base class. The derived classes available for instantiation are: GitHubCopilotHarness.
public static Azure.AI.Projects.Agents.AgentHarness AgentHarness(string type = default);
static member AgentHarness : string -> Azure.AI.Projects.Agents.AgentHarness
Public Shared Function AgentHarness (Optional type As String = Nothing) As AgentHarness
Parameters
- type
- String
The type of managed harness.
Returns
A new AgentHarness instance for mocking.