namespace AIStudio.AIOperations;
///
/// Why a provider was not chosen for an AI operation.
///
///
/// The members follow the order in which AIOperationProviderChoice checks a candidate, so that a candidate
/// reports the first rule it breaks.
///
public enum AIOperationProviderIssue
{
///
/// Nothing stands in the way of the provider.
///
NONE = 0,
///
/// Nobody named a provider here.
///
///
/// That is no problem to report: an operation without a provider of its own falls back as intended.
///
NOT_SET,
///
/// The named provider is no longer configured, e.g., because the user deleted it.
///
MISSING,
///
/// The organization prohibited the provider.
///
PROHIBITED,
///
/// The confidence level of the provider is below the global minimum or below the minimum of the operation.
///
BELOW_MINIMUM_CONFIDENCE,
///
/// The content of the request must not reach the provider.
///
///
/// Either the confidence level of the provider is below what the content requires, or a check of the
/// caller refused the provider, e.g., for the security of a data source or the restrictions of a chat.
///
NOT_ALLOWED_FOR_CONTENT,
///
/// A check of the caller found the context window of the model too small for the operation.
///
CONTEXT_WINDOW_TOO_SMALL,
}