File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed 
src/uipath_langchain/_utils Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 11[project ]
22name  = " uipath-langchain" 
3- version  = " 0.0.147 " 
3+ version  = " 0.0.148 " 
44description  = " UiPath Langchain" 
55readme  = { file  = " README.md"  , content-type  = " text/markdown"   }
66requires-python  = " >=3.10" 
77dependencies  = [
8-     " uipath>=2.1.110 , <2.2.0"  ,
8+     " uipath>=2.1.123 , <2.2.0"  ,
99    " langgraph>=0.5.0, <0.7.0"  ,
1010    " langchain-core>=0.3.34"  ,
1111    " langgraph-checkpoint-sqlite>=2.0.3"  ,
Original file line number Diff line number Diff line change 1717    stop_after_attempt ,
1818    wait_exponential_jitter ,
1919)
20- from  uipath ._cli ._runtime ._contracts  import  UiPathErrorCategory , UiPathRuntimeError 
20+ from  uipath ._cli ._runtime ._contracts  import  (
21+     UiPathErrorCategory ,
22+     UiPathErrorCode ,
23+     UiPathRuntimeError ,
24+ )
2125from  uipath ._utils ._ssl_context  import  get_httpx_client_kwargs 
2226
2327from  uipath_langchain ._cli ._runtime ._exception  import  (
@@ -59,7 +63,7 @@ def _get_access_token(data):
5963        return  get_uipath_token_header (settings )
6064    except  ValidationError :
6165        raise  UiPathRuntimeError (
62-             code = " AUTHENTICATION_REQUIRED"  ,
66+             UiPathErrorCode . AUTHENTICATION_REQUIRED ,
6367            title = "Authorization required" ,
6468            detail = "Authorization required. Please run uipath auth" ,
6569            category = UiPathErrorCategory .USER ,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments