litellm-mirror/litellm_proxy/custom_validate.py
2025-04-23 14:38:44 -07:00

5 lines
128 B
Python

from typing import Literal
def my_custom_validate(token: str) -> Literal[True]:
raise Exception("Custom validate failed")