+
    iHàj¢  ã                  óR   € R t ^ RIHt ^ RIHtHt 0 RmtRRRR/tRRR	R/tR
 R lt	R# )ao  LM Studio reasoning-effort resolution (used by the lmstudio provider profile). LM Studio
publishes per-model
``capabilities.reasoning.allowed_options`` (``["off","on"]`` for toggle models,
``["off","minimal","low"]`` for graduated ones); the user's ``reasoning_config`` is
mapped onto LM Studio's vocabulary, then clamped to the allowed set so the server
doesn't 400.)Úannotations)ÚListÚOptionalÚnoneÚmediumÚxhighÚoffÚonÚmaxÚultrac               ó$   € V ^8„  d   QhRRRRRR/# )é   Úreasoning_configzOptional[dict]Úallowed_optionszOptional[list[str]]ÚreturnzOptional[str]© )Úformats   "Ú=/home/ubuntu/.hermes/hermes-agent/agent/lmstudio_reasoning.pyÚ__annotate__r      s#   € ÷ ñ ¨nð ÐObð Ðgtñ ó    c                óÂ  € RpV '       d�   \        V \        4      '       d‡   V P                  R4      RJ d   RpMnV P                  R4      ;'       g    RP                  4       P	                  4       p\
        P                  W34      p\        P                  W34      pV\        9   d   TpV'       d,   Y! Uu0 uF  p\
        P                  WD4      kK  	  up9  d   R# V# u upi )a  Return the ``reasoning_effort`` to send to LM Studio, or ``None`` = omit the
field (the user picked a level the model can't honor, so LM Studio falls back
to the model's declared default rather than a silently substituted effort).
Falsy ``allowed_options`` (probe failed) skips clamping.r   ÚenabledFr   ÚeffortÚ N)Ú
isinstanceÚdictÚgetÚstripÚlowerÚ_LM_EFFORT_ALIASESÚ_LM_EFFORT_CLAMPÚ_LM_VALID_EFFORTS)r   r   r   ÚrawÚopts   &&   r   Úresolve_lmstudio_effortr$      s¿   € ð
 €FßœJÐ'7¼×>Ò>Ø×Ñ 	Ó*¨eÓ3Ø‰Fà#×'Ñ'¨Ó1×7Ð7°R×>Ñ>Ó@×FÑFÓHˆCÜ$×(Ñ(¨Ó2ˆCÜ"×&Ñ& sÓ0ˆCØÔ'Ô'Ø�ß˜6ÐVeÓ)fÑVeÈsÔ*<×*@Ñ*@ÀÖ*JÑVeÑ)fÔfÙØ€Mùò *gs   Â3CN>   ÚlowÚhighr   r   r   Úminimal)
Ú__doc__Ú
__future__r   Útypingr   r   r!   r   r    r$   r   r   r   Ú<module>r+      s?   ðñõ #ç !âIÐ ð ˜V T¨8Ð4Ð ð
 ˜7 G¨WÐ5Ð ÷r   