
    $h"                         % 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! [
         a     U qgf = f)ztSet a new value for the `verbose` global setting.

Args:
    value: The new value for the `verbose` global setting.
r   NignorezCImporting verbose from langchain root module is no longer supportedmessage	langchainwarningscatch_warningsfilterwarningsverboseImportErrorr   r	   r   s     N/var/www/html/shao/venv/lib/python3.13/site-packages/langchain_core/globals.pyset_verboser      sl    
 $$&##- !& '& H' '&& H	   H	-   A AA 
AA A 
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! [
         a    Sn N.f = f)zhGet the value of the `verbose` global setting.

Returns:
    The value of the `verbose` global setting.
r   Nr   zE.*Importing verbose from langchain root module is no longer supportedr   Fr   )r   old_verboses     r   get_verboser   5   sk    
 $$&##-& $++K) '0 "{"1 '&*  -   A% "AA% 
A"A% "A% %A43A4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! [
         a     U qgf = f)zpSet a new value for the `debug` global setting.

Args:
    value: The 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   r   s     r   	set_debugr"   \   sk    
 $$&##) $O '" F# '&" F	   F	r   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! [
         a    Sn N.f = f)zdGet the value of the `debug` global setting.

Returns:
    The value of the `debug` global setting.
r   Nr   r   r   Fr    )r   	old_debugs     r   	get_debugr%   |   si    
 $$&##)  "I# '* 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! [
         a     U qgf = f)zSet a new LLM cache, overwriting the previous value, if any.

Args:
    value: The new LLM cache to use. If `None`, the LLM cache is disabled.
r   Nr   EImporting llm_cache from langchain root module is no longer supportedr   r   r   r   r   	llm_cacher   r   r   s     r   set_llm_cacher*      sl    
 $$&##- #( '& J' '&& J	   J	r   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! [
         a    Sn N.f = f)zlGet the value of the `llm_cache` global setting.

Returns:
    The value of the `llm_cache` global setting.
r   Nr   r'   r   r(   )r   old_llm_caches     r   get_llm_cacher-      sk    
 $$&##-( &//M+ '2 &&3 '&,  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[! (t  D$#T $#NT d @!4 !H+. 4 D%'r4   