Compartilhar via


AIProjectsModelFactory.RunStepDeltaToolCallObject Method

Definition

Initializes a new instance of RunStepDeltaToolCallObject.

public static Azure.AI.Projects.RunStepDeltaToolCallObject RunStepDeltaToolCallObject (System.Collections.Generic.IEnumerable<Azure.AI.Projects.RunStepDeltaToolCall> toolCalls = default);
static member RunStepDeltaToolCallObject : seq<Azure.AI.Projects.RunStepDeltaToolCall> -> Azure.AI.Projects.RunStepDeltaToolCallObject
Public Shared Function RunStepDeltaToolCallObject (Optional toolCalls As IEnumerable(Of RunStepDeltaToolCall) = Nothing) As RunStepDeltaToolCallObject

Parameters

toolCalls
IEnumerable<RunStepDeltaToolCall>

The collection of tool calls for the tool call detail item. Please note RunStepDeltaToolCall is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include RunStepDeltaCodeInterpreterToolCall, RunStepDeltaFileSearchToolCall and RunStepDeltaFunctionToolCall.

Returns

A new RunStepDeltaToolCallObject instance for mocking.

Applies to