dheraingoud's picture
feat: synchronize proxy with upstream commits up to 5305bd7 and integrate NIM key rotator
0a54372
Raw
History Blame Contribute Delete
543 Bytes
"""User-configurable reasoning policy values."""
from enum import StrEnum
class ReasoningPreference(StrEnum):
"""Configuration choice applied before provider translation."""
INHERIT = "inherit"
OFF = "off"
CLIENT = "client"
LOW = "low"
MEDIUM = "medium"
HIGH = "high"
XHIGH = "xhigh"
MAX = "max"
ROOT_REASONING_PREFERENCES = tuple(
preference
for preference in ReasoningPreference
if preference is not ReasoningPreference.INHERIT
)
ROUTE_REASONING_PREFERENCES = tuple(ReasoningPreference)