OutputItemApplyPatchToolCall 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 OutputItemApplyPatchToolCall.
public OutputItemApplyPatchToolCall(string id, string callId, Azure.AI.AgentServer.Responses.Models.ApplyPatchCallStatus status, Azure.AI.AgentServer.Responses.Models.ApplyPatchFileOperation operation);
new Azure.AI.AgentServer.Responses.Models.OutputItemApplyPatchToolCall : string * string * Azure.AI.AgentServer.Responses.Models.ApplyPatchCallStatus * Azure.AI.AgentServer.Responses.Models.ApplyPatchFileOperation -> Azure.AI.AgentServer.Responses.Models.OutputItemApplyPatchToolCall
Public Sub New (id As String, callId As String, status As ApplyPatchCallStatus, operation As ApplyPatchFileOperation)
Parameters
- id
- String
The unique ID of the apply patch tool call. Populated when this item is returned via API.
- callId
- String
The unique ID of the apply patch tool call generated by the model.
- status
- ApplyPatchCallStatus
The status of the apply patch tool call. One of in_progress or completed.
- operation
- ApplyPatchFileOperation
One of the create_file, delete_file, or update_file operations applied via apply_patch.
Exceptions
id, callId or operation is null.