你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

OutputItemCodeInterpreterToolCall Constructor

Definition

Initializes a new instance of OutputItemCodeInterpreterToolCall.

public OutputItemCodeInterpreterToolCall(string id, Azure.AI.AgentServer.Responses.Models.ItemCodeInterpreterToolCallStatus status, string containerId, string code, System.Collections.Generic.IEnumerable<BinaryData> outputs);
new Azure.AI.AgentServer.Responses.Models.OutputItemCodeInterpreterToolCall : string * Azure.AI.AgentServer.Responses.Models.ItemCodeInterpreterToolCallStatus * string * string * seq<BinaryData> -> Azure.AI.AgentServer.Responses.Models.OutputItemCodeInterpreterToolCall
Public Sub New (id As String, status As ItemCodeInterpreterToolCallStatus, containerId As String, code As String, outputs As IEnumerable(Of BinaryData))

Parameters

id
String

The unique ID of the code interpreter tool call.

status
ItemCodeInterpreterToolCallStatus

The status of the code interpreter tool call. Valid values are in_progress, completed, incomplete, interpreting, and failed.

containerId
String

The ID of the container used to run the code.

code
String

Exceptions

id or containerId is null.

Applies to