Genkit JS API reference
    Preparing search index...

    Type Alias CandidateError

    CandidateError: {
        code: "other" | "unknown" | "blocked";
        index: number;
        message?: string;
    }

    Type Declaration

    • code: "other" | "unknown" | "blocked"
    • index: number
    • Optionalmessage?: string

    All responses now return a single candidate. Only the first candidate will be used if supplied.