# This file was auto-generated by Fern from our API Definition.

import typing

FinishReason = typing.Union[
    typing.Literal[
        "COMPLETE", "STOP_SEQUENCE", "ERROR", "ERROR_TOXIC", "ERROR_LIMIT", "USER_CANCEL", "MAX_TOKENS", "TIMEOUT"
    ],
    typing.Any,
]
