AgentHarness Class
- java.
lang. Object - com.
azure. ai. agents. models. AgentHarness
- com.
Implements
public class AgentHarness
implements JsonSerializable<AgentHarness>
A managed runtime and agent loop used to execute a prompt agent.
Constructor Summary
| Modifier | Constructor | Description |
|---|---|---|
| protected | AgentHarness() |
Creates an instance of Agent |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Agent |
fromJson(JsonReader jsonReader)
Reads an instance of Agent |
| String |
getType()
Get the type property: The type of managed harness. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
AgentHarness
protected AgentHarness()
Creates an instance of AgentHarness class.
Method Details
fromJson
public static AgentHarness fromJson(JsonReader jsonReader)
Reads an instance of AgentHarness from the JsonReader.
Parameters:
Returns:
Throws:
getType
public String getType()
Get the type property: The type of managed harness.
Returns: