Sign in

    vectie/moonfish/retry does not have a README file

    RetryDecision

    pub(all) struct RetryDecision {
    stage :
    ModelStage

    attempt : Int
    max_attempts : Int
    issue_class : RetryIssueClass
    should_retry : Bool
    feedback_targets : Array[String]
    immutable_fields : Array[String]
    message : String
    } derive(Eq, ToJson,
    Debug
    ,
    FromJson
    )

    RetryIssueClass

    pub(all) enum RetryIssueClass {
    NoIssue
    FormatIssue
    SemanticIssue
    SafetyNoRetry
    ProviderNoRetry
    } derive(Eq, ToJson,
    Debug
    ,
    FromJson
    )

    RetryIssueClass::label

    fn RetryIssueClass::label(self : RetryIssueClass) -> String

    prepare_retry_decision

    fn prepare_retry_decision(input : RetryDecisionInput) -> RetryDecision

    Source Files