File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
src/uipath_langchain/_utils Expand file tree Collapse file tree 2 files changed +7
-3
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"
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