Files
lijiaoqiao/llm-gateway-competitors/litellm-wheel-src/litellm/proxy/custom_validate.py
2026-03-26 20:06:14 +08:00

6 lines
128 B
Python

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