uipath-langchain 0.0.87__py3-none-any.whl → 0.0.89__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of uipath-langchain might be problematic. Click here for more details.
- uipath_langchain/_cli/_runtime/_escalation.py +1 -1
- uipath_langchain/_cli/_runtime/_output.py +6 -6
- uipath_langchain/_cli/_runtime/_runtime.py +6 -0
- {uipath_langchain-0.0.87.dist-info → uipath_langchain-0.0.89.dist-info}/METADATA +3 -4
- {uipath_langchain-0.0.87.dist-info → uipath_langchain-0.0.89.dist-info}/RECORD +8 -8
- {uipath_langchain-0.0.87.dist-info → uipath_langchain-0.0.89.dist-info}/WHEEL +0 -0
- {uipath_langchain-0.0.87.dist-info → uipath_langchain-0.0.89.dist-info}/entry_points.txt +0 -0
- {uipath_langchain-0.0.87.dist-info → uipath_langchain-0.0.89.dist-info}/licenses/LICENSE +0 -0
|
@@ -15,8 +15,8 @@ from uipath._cli._runtime._contracts import (
|
|
|
15
15
|
UiPathRuntimeResult,
|
|
16
16
|
UiPathRuntimeStatus,
|
|
17
17
|
)
|
|
18
|
-
from uipath.
|
|
19
|
-
from uipath.
|
|
18
|
+
from uipath.models import CreateAction, InvokeProcess, WaitAction, WaitJob
|
|
19
|
+
from uipath.models.actions import Action
|
|
20
20
|
|
|
21
21
|
from ._context import LangGraphRuntimeContext
|
|
22
22
|
from ._escalation import Escalation
|
|
@@ -277,11 +277,11 @@ class LangGraphOutputProcessor:
|
|
|
277
277
|
if isinstance(self.interrupt_value, CreateAction):
|
|
278
278
|
action = uipath_sdk.actions.create(
|
|
279
279
|
title=self.interrupt_value.title,
|
|
280
|
-
app_name=self.interrupt_value.
|
|
281
|
-
if self.interrupt_value.
|
|
280
|
+
app_name=self.interrupt_value.app_name
|
|
281
|
+
if self.interrupt_value.app_name
|
|
282
282
|
else "",
|
|
283
|
-
app_key=self.interrupt_value.
|
|
284
|
-
if self.interrupt_value.
|
|
283
|
+
app_key=self.interrupt_value.app_key
|
|
284
|
+
if self.interrupt_value.app_key
|
|
285
285
|
else "",
|
|
286
286
|
app_version=self.interrupt_value.app_version
|
|
287
287
|
if self.interrupt_value.app_version
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import json
|
|
2
2
|
import logging
|
|
3
|
+
import os
|
|
3
4
|
from typing import List, Optional
|
|
4
5
|
|
|
5
6
|
from langchain_core.callbacks.base import BaseCallbackHandler
|
|
@@ -54,6 +55,11 @@ class LangGraphRuntime(UiPathBaseRuntime):
|
|
|
54
55
|
tracer = None
|
|
55
56
|
|
|
56
57
|
try:
|
|
58
|
+
if self.context.resume is False and self.context.job_id is None:
|
|
59
|
+
# Delete the previous graph state file at debug time
|
|
60
|
+
if os.path.exists(self.state_file_path):
|
|
61
|
+
os.remove(self.state_file_path)
|
|
62
|
+
|
|
57
63
|
async with AsyncSqliteSaver.from_conn_string(
|
|
58
64
|
self.state_file_path
|
|
59
65
|
) as memory:
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: uipath-langchain
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.89
|
|
4
4
|
Summary: UiPath Langchain
|
|
5
5
|
Project-URL: Homepage, https://uipath.com
|
|
6
|
-
Project-URL: Repository, https://github.com/UiPath/uipath-python
|
|
6
|
+
Project-URL: Repository, https://github.com/UiPath/uipath-langchain-python
|
|
7
7
|
Maintainer-email: Marius Cosareanu <marius.cosareanu@uipath.com>, Cristian Pufu <cristian.pufu@uipath.com>
|
|
8
8
|
License-File: LICENSE
|
|
9
9
|
Classifier: Development Status :: 3 - Alpha
|
|
10
10
|
Classifier: Intended Audience :: Developers
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
12
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -26,7 +25,7 @@ Requires-Dist: pydantic-settings>=2.6.0
|
|
|
26
25
|
Requires-Dist: python-dotenv>=1.0.1
|
|
27
26
|
Requires-Dist: requests>=2.23.3
|
|
28
27
|
Requires-Dist: types-requests>=2.32.0.20241016
|
|
29
|
-
Requires-Dist: uipath
|
|
28
|
+
Requires-Dist: uipath<2.1.0,>=2.0.7
|
|
30
29
|
Provides-Extra: langchain
|
|
31
30
|
Description-Content-Type: text/markdown
|
|
32
31
|
|
|
@@ -4,11 +4,11 @@ uipath_langchain/_cli/__init__.py,sha256=juqd9PbXs4yg45zMJ7BHAOPQjb7sgEbWE9InBtG
|
|
|
4
4
|
uipath_langchain/_cli/cli_init.py,sha256=jsMB9p4-ot23wP04gc-TsRHHnbGMYTw7mjA6r1_SqfA,6383
|
|
5
5
|
uipath_langchain/_cli/cli_run.py,sha256=zMn2P1gB1ogM8_EmZsIhqNpeI9Oc02Z5Gj-oni7eUV4,2915
|
|
6
6
|
uipath_langchain/_cli/_runtime/_context.py,sha256=wr4aNn06ReIXmetEZ6b6AnpAt64p13anQ2trZ5Bzgio,807
|
|
7
|
-
uipath_langchain/_cli/_runtime/_escalation.py,sha256=
|
|
7
|
+
uipath_langchain/_cli/_runtime/_escalation.py,sha256=oA5NvZvCo8ngELFJRyhZNM69DxVHrshhMY6CUk_cukQ,8055
|
|
8
8
|
uipath_langchain/_cli/_runtime/_exception.py,sha256=USKkLYkG-dzjX3fEiMMOHnVUpiXJs_xF0OQXCCOvbYM,546
|
|
9
9
|
uipath_langchain/_cli/_runtime/_input.py,sha256=aaqU7ZiTwVmE1CgaiqgOtArr925bYr9c4CuWt1oC-jk,5418
|
|
10
|
-
uipath_langchain/_cli/_runtime/_output.py,sha256=
|
|
11
|
-
uipath_langchain/_cli/_runtime/_runtime.py,sha256=
|
|
10
|
+
uipath_langchain/_cli/_runtime/_output.py,sha256=0SksiIoFxtfSvy7_VL49KwGD_ljs76SvFbn5B8O_Pls,14254
|
|
11
|
+
uipath_langchain/_cli/_runtime/_runtime.py,sha256=P6VQtfQYot0c0wt-7BB8NjkQu39zWuGuZUcMYKk4I18,11387
|
|
12
12
|
uipath_langchain/_cli/_utils/_graph.py,sha256=WLBSJfPc3_C07SqJhePRe17JIc5wcBvEqLviMcNOdTA,6950
|
|
13
13
|
uipath_langchain/_utils/__init__.py,sha256=Sp2qnEXLAp9ftQ09x7CZMenYnpXIIGFJNv8zNN7vAsw,172
|
|
14
14
|
uipath_langchain/_utils/_request_mixin.py,sha256=t_1HWBxqEl-wsSk9ubmIM-8vs9BlNy4ZVBxtDxktn6U,18489
|
|
@@ -33,8 +33,8 @@ uipath_langchain/utils/_request_mixin.py,sha256=WFyTDyAthSci1DRwUwS21I3hLntD7HdV
|
|
|
33
33
|
uipath_langchain/utils/_settings.py,sha256=MhwEVj4gVRSar0RBf2w2hTjO-5Qm-HpCuufqN3gSWjA,3390
|
|
34
34
|
uipath_langchain/utils/_sleep_policy.py,sha256=e9pHdjmcCj4CVoFM1jMyZFelH11YatsgWfpyrfXzKBQ,1251
|
|
35
35
|
uipath_langchain/vectorstores/context_grounding_vectorstore.py,sha256=eTa5sX43-ydB1pj9VNHUPbB-hC36fZK_CGrNe5U2Nrw,9393
|
|
36
|
-
uipath_langchain-0.0.
|
|
37
|
-
uipath_langchain-0.0.
|
|
38
|
-
uipath_langchain-0.0.
|
|
39
|
-
uipath_langchain-0.0.
|
|
40
|
-
uipath_langchain-0.0.
|
|
36
|
+
uipath_langchain-0.0.89.dist-info/METADATA,sha256=ZHZswhIZpl3k73iZpuwlNa9tHCp5Y-AhqQAcRfsS9II,3818
|
|
37
|
+
uipath_langchain-0.0.89.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
38
|
+
uipath_langchain-0.0.89.dist-info/entry_points.txt,sha256=FUtzqGOEntlJKMJIXhQUfT7ZTbQmGhke1iCmDWZaQZI,81
|
|
39
|
+
uipath_langchain-0.0.89.dist-info/licenses/LICENSE,sha256=JDpt-uotAkHFmxpwxi6gwx6HQ25e-lG4U_Gzcvgp7JY,1063
|
|
40
|
+
uipath_langchain-0.0.89.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|