GitHubCopilotHarness Class
- java.
lang. Object - com.
azure. ai. agents. models. AgentHarness - com.
azure. ai. agents. models. GitHubCopilotHarness
- com.
- com.
public final class GitHubCopilotHarness
extends AgentHarness
The legacy GitHub Copilot managed harness retained for compatibility. Use `MicrosoftCopilotHarness` for new prompt agents.
Constructor Summary
| Constructor | Description |
|---|---|
| GitHubCopilotHarness() |
Creates an instance of Git |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Git |
fromJson(JsonReader jsonReader)
Reads an instance of Git |
| String |
getType()
Get the type property: The type of managed harness. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from AgentHarness
Methods inherited from java.lang.Object
Constructor Details
GitHubCopilotHarness
public GitHubCopilotHarness()
Creates an instance of GitHubCopilotHarness class.
Method Details
fromJson
public static GitHubCopilotHarness fromJson(JsonReader jsonReader)
Reads an instance of GitHubCopilotHarness from the JsonReader.
Parameters:
Returns:
Throws:
getType
public String getType()
Get the type property: The type of managed harness.
Overrides:
GitHubCopilotHarness.getType()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
GitHubCopilotHarness.toJson(JsonWriter jsonWriter)Parameters:
Throws: