React Native Firebase
    Preparing search index...

    Reason that a candidate finished.

    Index

    Enumeration Members

    BLOCKLIST: "BLOCKLIST"

    The candidate content contained forbidden terms.

    IMAGE_OTHER: "IMAGE_OTHER"

    Image generation stopped because of other miscellaneous issue.

    IMAGE_PROHIBITED_CONTENT: "IMAGE_PROHIBITED_CONTENT"

    Image generation stopped because generated images have other prohibited content.

    IMAGE_RECITATION: "IMAGE_RECITATION"

    Image generation stopped due to recitation.

    IMAGE_SAFETY: "IMAGE_SAFETY"

    Token generation stopped because generated images contain safety violations.

    LANGUAGE: "LANGUAGE"

    The response candidate content was flagged for using an unsupported language.

    MALFORMED_FUNCTION_CALL: "MALFORMED_FUNCTION_CALL"

    The function call generated by the model was invalid.

    MALFORMED_RESPONSE: "MALFORMED_RESPONSE"

    Finished due to malformed response.

    MAX_TOKENS: "MAX_TOKENS"

    The maximum number of tokens as specified in the request was reached.

    MISSING_THOUGHT_SIGNATURE: "MISSING_THOUGHT_SIGNATURE"

    Request has at least one thought signature missing.

    NO_IMAGE: "NO_IMAGE"

    The model was expected to generate an image, but none was generated.

    OTHER: "OTHER"

    Unknown reason.

    PROHIBITED_CONTENT: "PROHIBITED_CONTENT"

    The candidate content potentially contained prohibited content.

    RECITATION: "RECITATION"

    The candidate content was flagged for recitation reasons.

    SAFETY: "SAFETY"

    The candidate content was flagged for safety reasons.

    SPII: "SPII"

    The candidate content potentially contained Sensitive Personally Identifiable Information (SPII).

    STOP: "STOP"

    Natural stop point of the model or provided stop sequence.

    TOO_MANY_TOOL_CALLS: "TOO_MANY_TOOL_CALLS"

    Model called too many tools consecutively, thus the system exited execution.

    UNEXPECTED_TOOL_CALL: "UNEXPECTED_TOOL_CALL"

    Model generated a tool call but no tools were enabled in the request.