ó
    |¤j  ã                  ó6   • S r SSKJr  SqSS jrS	S jrS
S jrg)uƒ  Debug-mode flag.

When debug mode is on (``/debug on``), the trace logger additionally records
the full LLM request payload â€” system prompt plus full message history â€” into
the session trace (``.acli/traces/<session>.jsonl``). View with ``/log`` or
``/trace``.

The flag is armed at startup from persisted config (``configure_debug_log``)
and flipped live by the ``/debug`` command.
é    )ÚannotationsFc                ó   • U q g ©N©Ú_enabled)Úenableds    Ú¥C:\Users\johnn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\dashscope/acli/debuglog.pyÚset_debug_enabledr
      s   € à�Hó    c                 ó   • [         $ r   r   © r   r	   Údebug_enabledr      s   € Ü€Or   c           	     óB   • [        [        [        U SS5      5      5        g)z5Arm the module flag from persisted config at startup.ÚdebugFN)r
   ÚboolÚgetattr)Úconfigs    r	   Úconfigure_debug_logr      s   € ä”dœ7 6¨7°EÓ:Ó;Õ<r   N)r   r   ÚreturnÚNone)r   r   )r   r   )Ú__doc__Ú
__future__r   r   r
   r   r   r   r   r	   Ú<module>r      s#   ðñ	õ #à€ôô
õ=r   