Class IncompleteRunDetails

java.lang.Object
com.azure.core.util.ExpandableStringEnum<IncompleteRunDetails>
com.azure.ai.openai.assistants.models.IncompleteRunDetails
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class IncompleteRunDetails extends com.azure.core.util.ExpandableStringEnum<IncompleteRunDetails>
The reason why the run is incomplete. This will point to which specific token limit was reached over the course of the run.
  • Field Details

    • MAX_COMPLETION_TOKENS

      public static final IncompleteRunDetails MAX_COMPLETION_TOKENS
      Maximum completion tokens exceeded.
    • MAX_PROMPT_TOKENS

      public static final IncompleteRunDetails MAX_PROMPT_TOKENS
      Maximum prompt tokens exceeded.
  • Constructor Details

    • IncompleteRunDetails

      @Deprecated public IncompleteRunDetails()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of IncompleteRunDetails value.
  • Method Details

    • fromString

      public static IncompleteRunDetails fromString(String name)
      Creates or finds a IncompleteRunDetails from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding IncompleteRunDetails.
    • values

      public static Collection<IncompleteRunDetails> values()
      Gets known IncompleteRunDetails values.
      Returns:
      known IncompleteRunDetails values.