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

ItemCodeInterpreterToolCall Constructor

Definition

Initializes a new instance of ItemCodeInterpreterToolCall.

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

Parameters

id
String

The unique ID of the code interpreter tool call.

status
OutputItemCodeInterpreterToolCallStatus

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