Partager via


AIProjectsModelFactory.IncompleteRunDetails(IncompleteDetailsReason) Method

Definition

Initializes a new instance of IncompleteRunDetails.

public static Azure.AI.Projects.IncompleteRunDetails IncompleteRunDetails (Azure.AI.Projects.IncompleteDetailsReason reason = default);
static member IncompleteRunDetails : Azure.AI.Projects.IncompleteDetailsReason -> Azure.AI.Projects.IncompleteRunDetails
Public Shared Function IncompleteRunDetails (Optional reason As IncompleteDetailsReason = Nothing) As IncompleteRunDetails

Parameters

reason
IncompleteDetailsReason

The reason why the run is incomplete. This indicates which specific token limit was reached during the run.

Returns

A new IncompleteRunDetails instance for mocking.

Applies to