
    Ah.                         % S r SSKrSSKJrJr  \(       a  SSKJr  Sq\\	S'   Sq
\\	S'   Sq\S   \	S	'   S
\SS4S jrS\4S jrS
\SS4S jrS\4S jrS
\S   SS4S jrSS jrg)z?Global values and configuration that apply to all of LangChain.    N)TYPE_CHECKINGOptional)	BaseCacheF_verbose_debugr   
_llm_cachevaluereturnc                     SSK n[        R                  " 5          [        R                  " SSS9  Xl        SSS5        U qg! , (       d  f       U qg= f)z1Set a new value for the `verbose` global setting.r   NignoreCImporting verbose from langchain root module is no longer supportedmessage	langchainwarningscatch_warningsfilterwarningsverboser   r	   r   s     I/var/www/html/shao/venv/lib/python3.13/site-packages/langchain/globals.pyset_verboser      sM      
	 	 	"U	
 " 
#  H! 
#	"  H   A
Ac                      SSK n [        R                  " 5          [        R                  " SSS9  U R                  nSSS5        [
        =(       d    W$ ! , (       d  f       N= f)z.Get the value of the `verbose` global setting.r   Nr   r   r   r   )r   old_verboses     r   get_verboser   .   sO     
	 	 	"U	
"  ''% 
#( "{") 
#	"   "A
A!c                     SSK n[        R                  " 5          [        R                  " SSS9  Xl        SSS5        U qg! , (       d  f       U qg= f)z/Set a new value for the `debug` global setting.r   Nr   AImporting debug from langchain root module is no longer supportedr   r   r   r   r   debugr   r   s     r   	set_debugr"   K   sL      
	 	 	"W	
   
# F 
#	" Fr   c                      SSK n [        R                  " 5          [        R                  " SSS9  U R                  nSSS5        [
        =(       d    W$ ! , (       d  f       N= f)z,Get the value of the `debug` global setting.r   Nr   r   r   r    )r   	old_debugs     r   	get_debugr%   d   sM     
	 	 	"W	
 OO	! 
#$ Y% 
#	"r   c                     SSK n[        R                  " 5          [        R                  " SSS9  Xl        SSS5        U qg! , (       d  f       U qg= f)z<Set a new LLM cache, overwriting the previous value, if any.r   Nr   EImporting llm_cache from langchain root module is no longer supportedr   r   r   r   r   	llm_cacher   r   s     r   set_llm_cacher*      sK     
	 	 	"W	
 $ 
#  J! 
#	"  Jr   c                      SSK n [        R                  " 5          [        R                  " SSS9  U R                  nSSS5        [
        =(       d    W$ ! , (       d  f       N= f)z0Get the value of the `llm_cache` global setting.r   Nr   r'   r   r(   )r   old_llm_caches     r   get_llm_cacher-      sO     
	 	 	"W	
& "++) 
#, &&- 
#	"r   )r
   r   )__doc__r   typingr   r   langchain_core.cachesr   r   bool__annotations__r   r   r   r   r"   r%   r*   r-        r   <module>r5      s    E  */ $  $(
H[! (	6#T #:	24 6+. 4 2'r4   