Spaces:
Sleeping
Sleeping
File size: 543 Bytes
61bb677 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | """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)
|